Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what is mappedBy in Hibernate?  RSS feed

 
Rahul Ba
Ranch Hand
Posts: 212
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!