Working with Objects

  • Joseph Ottinger
  • Srinivas Guruzu
  • Gary Mak
Chapter

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.

Copyright information

© Joseph Ottinger 2015

Authors and Affiliations

  • Joseph Ottinger
    • 1
  • Srinivas Guruzu
    • 1
  • Gary Mak
    • 1
  1. 1.NCUnited States

Personalised recommendations