This content has been marked as final.
Show 5 replies
-
1. Re: InheritanceType JOINED stategy problem
rajeshv7 Mar 14, 2007 3:57 AM (in response to grdzeli_kaci)I think you have mixed up the 'SINGLE_TABLE' and 'JOINED' Inheritance strategies. The Discriminator's are specified only in the 'SINGLE_TABLE' strategy. And in the 'Joined' since all the subclasses have their own tables there is no need for a discriminator column.
-
2. Re: InheritanceType JOINED stategy problem
grdzeli_kaci Mar 14, 2007 4:12 AM (in response to grdzeli_kaci)"rajeshv7" wrote:
I think you have mixed up the 'SINGLE_TABLE' and 'JOINED' Inheritance strategies. The Discriminator's are specified only in the 'SINGLE_TABLE' strategy. And in the 'Joined' since all the subclasses have their own tables there is no need for a discriminator column.
you are not right!
The Discriminator's are not specified only in the 'SINGLE_TABLE' strategy. it is possible to use into join strategy.
i have book "Pro EJB3 Java Persistence API" (Mike Keith and Merrick Schincariol)
http://www.amazon.com/Pro-EJB-Java-Persistence-API/dp/1590596455
on page 249 is defined joined strategy and tehere is data model in example Employee, FullTimeEmployee,PartTimeEmployee and ContractEmployee using Joined Strategy.
find out here Example 1-74
http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-annotations.html
Is There any idea ?
I can't resolve this problem -
3. Re: InheritanceType JOINED stategy problem
grdzeli_kaci Mar 15, 2007 1:41 AM (in response to grdzeli_kaci)is anybody use this strategy ?
i can't resolve this problem yet :( -
4. Re: InheritanceType JOINED stategy problem
grdzeli_kaci Mar 19, 2007 1:05 AM (in response to grdzeli_kaci)i can't resolve this problem yet, could anybody help me ?
-
5. Re: InheritanceType JOINED stategy problem
grdzeli_kaci Mar 28, 2007 1:32 PM (in response to grdzeli_kaci)anybody knows where is documentations about it ?