Hibernate Tutorials/
« Previous | 1 | 2 | 3 | Next »
The mapping of associations between entity classes and the relationships between tables is the soul of ORM. Following are the four ways in which the cardinality of the relationship between the objects can be expressed. An association mapping can be unidirectional as well as bidirectional.
Mapping typeDescription
Many-to-OneMapping many-to-one relationship using Hibernate
One-to-OneMapping one-to-one relationship using Hibernate
One-to-ManyMapping one-to-many relationship using Hibernate
Many-to-ManyMapping many-to-many relationship using Hibernate
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com