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

Object/relational mapping metadata

You now have persistent classes that meet Hibernate requirements for persistence. To do its job, Hibernate (or any other object/relational mapping tool) needs information about the persistent classes and the target database tables in which the objects are persisted. It needs detailed information about the mapping of object properties to and from table columns, and of Java types to and from SQL types. It may require additional information about establishing foreign keys when the persistent class is associated with other(s). This is typical information that object/relational mapping tools need. Moreover, Hibernate provides features, such as lazy loading, cascading, caching, and others, that must be configured. ...

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