O'Reilly logo

Spring Persistence with Hibernate by Ahmad Seddighi

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

Summary

In this chapter, you learned the principles of entity classes and their mapping definitions. Hibernate defines only a few requirements for persistent classes. The structure of all persistent classes must follow a POJO programming model, a customized and simplified form of the JavaBeans model, with a bit of additional requirements. The transparent persistence feature of Hibernate indicates that these classes do not depend on the Hibernate API or any persistence logic. This increases the application's portability and keeps it consistent with any persistence technology.

After designing the object model, you need to give Hibernate information about the target tables and their columns, in which the objects properties are persisted. You accomplish ...

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