documented hibernate.connection.aggressive_release
git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@6526 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
76eaef099c
commit
b9b77e49b8
|
@ -523,7 +523,7 @@ hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect]]></programlisting>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table frame="topbot" id="configuration-jdbc-properties" revision="7">
|
<table frame="topbot" id="configuration-jdbc-properties" revision="8">
|
||||||
<title>Hibernate JDBC and Connection Properties</title>
|
<title>Hibernate JDBC and Connection Properties</title>
|
||||||
<tgroup cols="2">
|
<tgroup cols="2">
|
||||||
<colspec colname="c1" colwidth="1*"/>
|
<colspec colname="c1" colwidth="1*"/>
|
||||||
|
@ -672,11 +672,12 @@ hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect]]></programlisting>
|
||||||
<literal>hibernate.connection.aggressive_release</literal>
|
<literal>hibernate.connection.aggressive_release</literal>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
Enables Hibernate to aggressively release JDBC Connections, provided this behaviour is
|
Enables Hibernate to aggressively release JDBC Connections, provided this behavior is
|
||||||
supported by the configured <literal>ConnectionProvider</literal>. The default Hibernate
|
supported by the configured <literal>ConnectionProvider</literal>. The default Hibernate
|
||||||
behaviour is to cache a Connection for the entire lifespan (excluding disconnect/reconnect
|
behavior is to cache a Connection for the entire lifespan (excluding disconnect/reconnect
|
||||||
calls) of the Session; this does not play well with certain usage scenarios inside managed
|
calls) of the Session; this does not play well inside managed environments implementing
|
||||||
environments implementing Connection "containment" checks.
|
Connection "containment" checks. Thus, setting this to true is recommended in managed
|
||||||
|
environments.
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
|
|
Loading…
Reference in New Issue