## Uses of Class
org.hibernate.ConnectionReleaseMode

Packages that use ConnectionReleaseMode
org.hibernate: This package defines the central Hibernate APIs.
org.hibernate.cfg: This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel.
org.hibernate.context
org.hibernate.engine: This package contains classes that are "shared" by other packages, and implementations of some key algorithms.
org.hibernate.impl: This package contains implementations of the central Hibernate APIs, especially the Hibernate session.
org.hibernate.jdbc: This package abstracts the mechanism for dispatching SQL statements to the database, and implements interaction with JDBC.
org.hibernate.transaction: This package abstracts the underlying transaction mechanism (JTA or JDBC) and provides strategies for obtaining application server `TransactionManager`s.

Uses of ConnectionReleaseMode in org.hibernate

Fields in org.hibernate declared as ConnectionReleaseMode
`static ConnectionReleaseMode` `ConnectionReleaseMode.AFTER_STATEMENT` Indicates that JDBC connection should be aggressively released after each SQL statement is executed.
`static ConnectionReleaseMode` `ConnectionReleaseMode.AFTER_TRANSACTION` Indicates that JDBC connections should be released after each transaction ends (works with both JTA-registered synch and HibernateTransaction API).
`static ConnectionReleaseMode` `ConnectionReleaseMode.ON_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.

Methods in org.hibernate that return ConnectionReleaseMode
`static ConnectionReleaseMode` `ConnectionReleaseMode.parse(String modeName)` Determine the correct ConnectionReleaseMode instance based on the given name.

Uses of ConnectionReleaseMode in org.hibernate.cfg

Methods in org.hibernate.cfg that return ConnectionReleaseMode
`ConnectionReleaseMode` `Settings.getConnectionReleaseMode()`

Uses of ConnectionReleaseMode in org.hibernate.context

Methods in org.hibernate.context that return ConnectionReleaseMode
`protected ConnectionReleaseMode` `ThreadLocalSessionContext.getConnectionReleaseMode()` Mainly for subclass usage.
`protected ConnectionReleaseMode` `JTASessionContext.getConnectionReleaseMode()` Mainly for subclass usage.

Uses of ConnectionReleaseMode in org.hibernate.engine

Methods in org.hibernate.engine with parameters of type ConnectionReleaseMode
`Session` `SessionFactoryImplementor.openSession(Connection connection, boolean flushBeforeCompletionEnabled, boolean autoCloseSessionEnabled, ConnectionReleaseMode connectionReleaseMode)` Open a session conforming to the given parameters.

Uses of ConnectionReleaseMode in org.hibernate.impl

Methods in org.hibernate.impl that return ConnectionReleaseMode
`ConnectionReleaseMode` `StatelessSessionImpl.getConnectionReleaseMode()`
`ConnectionReleaseMode` `SessionImpl.getConnectionReleaseMode()`

Methods in org.hibernate.impl with parameters of type ConnectionReleaseMode
`Session` `SessionFactoryImpl.openSession(Connection connection, boolean flushBeforeCompletionEnabled, boolean autoCloseSessionEnabled, ConnectionReleaseMode connectionReleaseMode)`

Uses of ConnectionReleaseMode in org.hibernate.jdbc

Methods in org.hibernate.jdbc that return ConnectionReleaseMode
`ConnectionReleaseMode` `JDBCContext.Context.getConnectionReleaseMode()`

Methods in org.hibernate.jdbc with parameters of type ConnectionReleaseMode
`static ConnectionManager` `ConnectionManager.deserialize(ObjectInputStream ois, SessionFactoryImplementor factory, Interceptor interceptor, ConnectionReleaseMode connectionReleaseMode, JDBCContext jdbcContext)`

Constructors in org.hibernate.jdbc with parameters of type ConnectionReleaseMode
`ConnectionManager(SessionFactoryImplementor factory, ConnectionManager.Callback callback, ConnectionReleaseMode releaseMode, Connection connection, Interceptor interceptor)` Constructs a ConnectionManager.

Uses of ConnectionReleaseMode in org.hibernate.transaction

Methods in org.hibernate.transaction that return ConnectionReleaseMode
`ConnectionReleaseMode` `TransactionFactory.getDefaultReleaseMode()` Get the default connection release mode.
`ConnectionReleaseMode` `JTATransactionFactory.getDefaultReleaseMode()` Get the default connection release mode.
`ConnectionReleaseMode` `JDBCTransactionFactory.getDefaultReleaseMode()` Get the default connection release mode.
`ConnectionReleaseMode` `CMTTransactionFactory.getDefaultReleaseMode()`

Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.