Chapter 3: Using Spring with Hibernate

Much like Spring, Hibernate changed the software development landscape when it first appeared on the scene. The timing was ideal: developers were frustrated by other ORM frameworks such as EJB. Hibernate attempted to solve the persistence problem through simplicity and clean, thoughtful design.

Also like Spring, Hibernate relies heavily on the JavaBean concept, which accounts for a significant aspect of its success. Other ORM frameworks force developers to muddy their domain models with restrictive and rigid requirements, such as alternate and parent classes, as well as Data Transfer Objects (DTOs). Hibernate enables persistence with little reliance or coupling to Hibernate. Spring helps to decouple Hibernate ...

Get Spring Persistence: A Running Start now with O’Reilly online learning.

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