Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Different between @AttributeOverride and @AssociationOverride

 
Treimin Clark
Ranch Hand
Posts: 757
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I know, both annotations can be used to override mapping information of a MappedSuperClass. Then what is the different between those two annotations?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the persistence specification, 9.1.12 AssociationOverride Annotation and 9.1.10 AttributeOverride Annotation. There's even usage examples. I must confess I didn't remember AssociationOverride
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic