Brett Meyer commented on an issue
Hibernate ORM / Bug HHH-7922
Entity Manager close connections on 3.6 and 4.x not
Hi,

When I execute this code:

EntityManager em = EntityManagerProvider.getEntityManagerFactory().createEntityManager();
em.getTransaction().begin();
em.getTransaction().commit();

On 3.6.10 version the connection with database is relesead at last line, I mean, I can request 1000 times and the connections never excced the max_size on connection pool deli...