This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Preparation for EJB3.0

 
panki vijay
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic