O'Reilly logo

Spring Persistence with Hibernate, Second Edition by Brian D. Murphy, Paul Fisher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Paul Fisher and Brian D. Murphy 2016

Paul Fisher and Brian D. Murphy, Spring Persistence with Hibernate, 10.1007/978-1-4842-0268-5_5

5. Domain Model Fundamentals

Paul Fisher and Brian D. Murphy2

(1)Brookyln, New York, USA

(2)Maplewood, New Jersey, USA

The domain model is the foundation upon which a persistence tier is constructed. Each domain class defines the properties to be persisted to the database, as well as the relationships between one class and another. This rich object-oriented structure is not easily translated to the relational world of databases. Hibernate provides the required mechanism to help address this impedance mismatch between these two realms.

Mappingis the process through which you provide hints to Hibernate regarding how ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required