© Paul Fisher and Brian D. Murphy 2016

Paul Fisher and Brian D. Murphy, Spring Persistence with Hibernate, 10.1007/978-1-4842-0268-5_6

6. Transaction Management

Paul Fisher and Brian D. Murphy2

(1)Brookyln, New York, USA

(2)Maplewood, New Jersey, USA

Database transactions help you group a set of operations into a single unit of work. All operations either succeed or fail as a group.

Spring’s powerful and flexible transaction support is another factor responsible for the framework’s success and popularity. Before Spring, complex or declarative transactional features typically required that an organization use EJB, along with a heavyweight JEE container. Using aspect-oriented programming (AOP) techniques, Spring helped democratize enterprise-level transactional ...

Get Spring Persistence with Hibernate, Second Edition 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.