Hibernate
- is an implementation of the JPA specification
Intro
- a connection pool provides a way to store and reuse
java.sql.Connectioninstances for speed and robustness - a hibernate
Sessionis a wrapper around aConnectionin order to allow you to save your POJOs without directly writing the SQL - when you call
SessionFactory.openSessionhibernate first takes aConnectionfrom the connection pool. It then creates aSessionaround thatConnectionand returns it