Chapter 5. Hibernate Mappings

In earlier chapters, you have learned how to set up a project from scratch to use with Hibernate. You also learned how Hibernate is configured after it has been installed. After that, the application is ready to use Hibernate for persisting your objects.

Obviously, we are not going to persist all application objects in the database. Only the business entities of the problem domain (such as students and courses in an educational system application) are persistent. The classes that implement these entities are called entity classes. The persistence with Hibernate is called transparent, because the persistent classes never use or call Hibernate APIs and are not influenced by the persistent logic. These classes are merely ...

Get Spring Persistence with Hibernate now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.