Persistence Life Cycle

There are in all four stages of Object in hibernate 1.Transient 2.Persistent 3.Removed 4.Detached 1.Transient Objects When an object is instantiated it’s not persistent immediately let’s suppose we are creating simple object if I am having in Employee class. We will create instance in this way, Employee emp= new employee(); When we create object it is in  transient state. Once…

Read More Read More