© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
J. B. Ottinger et al.Beginning Hibernate 6https://doi.org/10.1007/978-1-4842-7337-1_4

4. The Persistence LifeCycle

Joseph B. Ottinger1  , Jeff Linwood2 and Dave Minter3
(1)
Youngsville, NC, USA
(2)
Austin, TX, USA
(3)
London, UK
 

In this chapter, we discuss the lifecycle of persistent objects in Hibernate. These persistent objects can be POJOs without any special marker interfaces or inheritance related to Hibernate. Part of Hibernate’s popularity comes from its ability to work with a normal object model.

We are also going to cover some of the methods of the Session interface that are used for creating, retrieving, updating, and deleting persistent objects from Hibernate. ...

Get Beginning Hibernate 6: Java Persistence from Beginner to Pro 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.