"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 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027837#4027837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027837 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
