Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is mappedBy in Hibernate?

 
Rahul Ba
Ranch Hand
Posts: 206
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please anybody can explain me what is the mappedBy in Hibernate?

Rahul
 
Ogeh Ikem
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mappedBy (used in annotation mappings) is EJB3 terminology which means the same thing as inverse (used in XML mapping files) i.e. it is used to indicate which side is the owning side. Hibernate supports EJB 3 persistence annotations.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic