What is the difference between one to one and many to one mapping in hibernate?
views:
165answers:
1
A:
to go along with the general definition...
In a relational database structure, one to one mapping would refer to one row (or tuple) in a database pointing to exactly one other row in a database, linked by some mutual column. (most of the time a key of some sort)
In one to many, a column would hold the value that would relate to many rows in another table.
Kris.Mitchell
2010-02-03 13:08:41