tags:

views:

165

answers:

1

What is the difference between one to one and many to one mapping in hibernate?

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