Hibernate Association Mapping

Association between entities or relationship between tables is one of the most important thing in ORM.

Association can be unidirectional as well as bidirectional.

Association mapping types:

-->Many-to-One

-->One-to-One

-->One-to-Many

-->Many-to-Many