How to specify connection release modes in Hibernate?
Thanks,
Use the hibernate.connection.release_mode property of the session factory. see here
hibernate.connection.release_mode