diff --git a/reference/en/modules/configuration.xml b/reference/en/modules/configuration.xml index d37d64bd57..b234915639 100644 --- a/reference/en/modules/configuration.xml +++ b/reference/en/modules/configuration.xml @@ -672,12 +672,15 @@ hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect]]> hibernate.connection.aggressive_release - Enables Hibernate to aggressively release JDBC Connections, provided this behavior is - supported by the configured ConnectionProvider. The default Hibernate - behavior is to cache a Connection for the entire lifespan (excluding disconnect/reconnect - calls) of the Session; this does not play well inside managed environments implementing - Connection "containment" checks. Thus, setting this to true is recommended in managed - environments. + Enables Hibernate to aggressively release JDBC Connections, if supported + supported by the ConnectionProvider. By default a JDBC + connection is held for the lifespan (excluding disconnected state) of the Session; + this does not play well inside managed environments implementing connection + "containment" checks. Recommended in managed environments. + + eg. + true | false + @@ -1414,6 +1417,12 @@ hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect]]> + + Depending on your environment, you might have to set the configuration option + hibernate.connection.aggressive_release to true if your + application server shows "connection containment" exceptions. + + Transaction strategy configuration