Submitted by jjadmin on Sat, 04/16/2016 - 14:10
Submitted by jjadmin on Wed, 04/13/2016 - 21:27
According to JPA specification, a persistence context is a set of managed entity instances.
Entities are thus managed within a persistence context.
The EntityManager controls the lifecycle of the entities, and these entities can access data store resources.
Submitted by jjadmin on Wed, 04/13/2016 - 21:26
A Hibernate Session object represents a unit of work in hibernate. A session represents a transaction in a database.
Submitted by jjadmin on Wed, 04/13/2016 - 21:25
A session factory is a global object that manages org.hibernate.Session objects.
It is instantiated once and is thread-safe.
Submitted by jjadmin on Wed, 04/13/2016 - 19:08
What are the differences between get and load methods in hibernate? This is a common interview question also.
I will share few points here and please feel free to add more points if you have.