Chapter 7. Hibernate Core

In this chapter we examine Hibernate and how it implements the object-relational mapping techniques described in the previous chapters. We briefly survey its history, discuss how it is used, and show several end-to-end examples of its use.


Hibernate is an open-source, object-relational mapping framework that is available from and supported through Hibernate is relatively lightweight, very powerful, and in the latest (3.2) version a truly general persistence framework that will persist POJOs, XML, or arbitrary Java maps.

Hibernate currently comes in two forms. The first, Hibernate Core (which is the subject of this chapter, and which we will simply refer to as Hibernate), is the original mapping ...

Get Persistence in the Enterprise: A Guide to Persistence Technologies now with the O’Reilly learning platform.

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