File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes what is mappedBy in Hibernate? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "what is mappedBy in Hibernate?" Watch "what is mappedBy in Hibernate?" New topic
Author

what is mappedBy in Hibernate?

Rahul Ba
Ranch Hand

Joined: Oct 01, 2008
Posts: 205
Please anybody can explain me what is the mappedBy in Hibernate?

Rahul
Ogeh Ikem
Ranch Hand

Joined: May 13, 2002
Posts: 180
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is mappedBy in Hibernate?
 
Similar Threads
what us mean mappedBy="item" ?
n+1 selects in birectional one to one association
mappedBy attribute doubt
@onetomany
Hibernate in case of cascade(All,merge,persist)