Java org.hibernate ConnectionReleaseMode fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate ConnectionReleaseMode fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate ConnectionReleaseMode.

The text is from its open source code.

Field

ConnectionReleaseModeAFTER_STATEMENT
Indicates that JDBC connection should be aggressively released after each SQL statement is executed.
ConnectionReleaseModeAFTER_TRANSACTION
Indicates that JDBC connections should be released after each transaction ends (works with both JTA-registered synch and HibernateTransaction API).
ConnectionReleaseModeON_CLOSE
Indicates that connections should only be released when the Session is explicitly closed or disconnected; this is the legacy (Hibernate2 and pre-3.1) behavior.