O'Reilly logo

Persistence in the Enterprise: A Guide to Persistence Technologies by Kulvir Singh Bhogal, Robert Peterson, Kyle Brown, Geoffrey Hambrick, Roland Barcia

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

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.

Background

Hibernate is an open-source, object-relational mapping framework that is available from and supported through www.hibernate.org. 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 ...

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