One table per class:
primary to primary
mapping using column
data in all tables for class as designed
One table per Class hierarchy
one table overall
value selection based on discriminator
unnormalised form of data
One table per concrete class with abstract
abstract table implemented as empty
concrete implementing classes have common fields
set abstract as ttue to prevent any data entry to the class
polymorphism as implicit to make the mapping through hibernate layer
data access through abstract object
One to many
use of foreign primary keys
key column sets relation
one to many relation to be specified
makes auto mapping
One to one
indirect transform by specifying unique constraint
linked linking for updation
resolved simplicity
primary to primary
mapping using column
data in all tables for class as designed
One table per Class hierarchy
one table overall
value selection based on discriminator
unnormalised form of data
One table per concrete class with abstract
abstract table implemented as empty
concrete implementing classes have common fields
set abstract as ttue to prevent any data entry to the class
polymorphism as implicit to make the mapping through hibernate layer
data access through abstract object
One to many
use of foreign primary keys
key column sets relation
one to many relation to be specified
makes auto mapping
One to one
indirect transform by specifying unique constraint
linked linking for updation
resolved simplicity
go to following link to access hibernate docs
No comments:
Post a Comment