File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes what is mean mappedBy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply locked New topic

what is mean mappedBy

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
this is from manning in Action in EJB 3 book

i am refering this line @OneToMany(mappedBy="item")
what is mean by here mappedBy="item" ?
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Please don't duplicate post the same question.



Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: what is mean mappedBy
It's not a secret anymore!