51. Working with Objects
- Author
-
Srinivas Guruzu, Joseph B. Ottinger, and Gary Mak
- Subjects
World Wide Web ,Java ,Computer science ,Hibernation (computing) ,State (computer science) ,Session (computer science) ,Object (computer science) ,computer ,computer.programming_language - Abstract
This chapter discusses the states an object goes through during its life cycle. The session is responsible for managing object state in Hibernate, and the EntityManager does the same in Java Persistence. Hibernate provides a persistence mechanism that is transparent to the entities and the application; the application has to know the state of an object.
- Published
- 2015
- Full Text
- View/download PDF