|Re: NullPointerException on combining inheritance strategies (table per class + joined) [message #537522 is a reply to message #537517]
||Wed, 02 June 2010 18:21
| Gilberto Caetano de Andrade
Registered: July 2009
Just one question: how can you combine these strategies?
Table per Class Hierarchy Strategy ==>In this strategy, all the classes in a hierarchy are mapped to a single table.
Joined Subclass Strategy ==>In the joined subclass strategy, the root of the class hierarchy is represented by a single table. Each subclass is represented by a separate table that contains those fields that are specific to the subclass (not inherited from its superclass), as well as the column(s) that represent its primary key. The primary key column(s) of the subclass table serves as a foreign key to the primary key of the superclass table.
Hope this help,
[Updated on: Wed, 02 June 2010 18:24]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03165 seconds