aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Preparation for EJB3.0" Watch "Preparation for EJB3.0" New topic
Author

Preparation for EJB3.0

panki vijay
Greenhorn

Joined: Oct 06, 2008
Posts: 10


hi all
@Inheritance(strategy=InheritanceType.JOINED)
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...

@Inheritance(strategy=InheritanceType.JOINED)
class A{}
class B extends A{}
@PrimaryKeyJoinColumn(name="EMP_PK")
class C extends B{}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Preparation for EJB3.0