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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.