Wednesday, 6 March 2019

Hibernate Association Mappings XML configuration

Association Mappings

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.
Sr.No.Mapping type & Description
1Many-to-One
Mapping many-to-one relationship using Hibernate
2One-to-One
Mapping one-to-one relationship using Hibernate
3One-to-Many
Mapping one-to-many relationship using Hibernate
4Many-to-Many
Mapping many-to-many relationship using Hibernate

No comments:

Post a Comment

Unity Top Download

Latest post

An Introduction to Hybris from basics

An Introduction to Hybris from basics:  -- ecommerce site and PCM(Product content Management) solutions. eg. croma website.  -- having sear...

Popular posts