lish
level up
home
oracle
hibernate
spring mvc
blog
feedback
«previous
next»
Getting Started
Entities
Session
Reading & Writing
Quick Start
Associations
One-To-Many
Many-To-One
One-To-One
Many-To-Many
Quick Start
HQL
Essentials
API
Parameter Binding
Projection
Joins
Quick Start
Entity Associations in Hibernate
Hibernate lets you map associations between persistent classes to reflect the relationships between the underlying database tables.
For example, we can map the associations on these Java classes
to the foreign key constraint on these tables
SQL is automatically generated and executed by Hibernate when the associations are accessed.
one to many
See Also
Quick Start
Get up and running in minutes with all the SQL and Java code from this section
Feedback
If you have any comments or suggestions about level up, please visit
lishblog
or email
mark.lishman@googlemail.com
v1.4