wood burning stoves*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Preparation for EJB3.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Preparation for EJB3.0" Watch "Preparation for EJB3.0" New topic

Preparation for EJB3.0

panki vijay

Joined: Oct 06, 2008
Posts: 10

hi all
is working fine .But in second subclassif i am trying to use @PrimaryKeyJoinColumn(name="EMP_PK") then on error message is coming on ID that ---
An Entity subclass can't have IdClass it will result in mutiple ID's in the entity hierarchy.
need help......
class hierarchy is like this...

class A{}
class B extends A{}
class C extends B{}
subject: Preparation for EJB3.0
Similar Threads
Mixing inheritance strategies for multi-level inheritance in Hibernate
How to manage empty entities and/or entities with no tables using discriminators/inheritance
Table per class Support in JPA
[Solved] [Problem] Referencing two objects with OneToOne relation
why referencedColumnName element missing in Joined table startegy