mirror of
https://github.com/apache/openjpa.git
synced 2025-03-08 17:49:18 +00:00
Doc update for connectionRetainMode always
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889360 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2578261469
commit
2baa87b040
@ -3786,7 +3786,13 @@ property accepts the following values:
|
||||
<para>
|
||||
<literal>always</literal>: Each <classname>EntityManager</classname> obtains a
|
||||
single connection and uses it until the <classname>EntityManager</classname>
|
||||
closes.
|
||||
closes. Great care should be taken when using this property if the application
|
||||
cannot close the EntityManager (ie container-managed EntityManagers in a JEE
|
||||
Application Server). In this case the connection will remain open for an
|
||||
undefined time and the application may not be able to recover from a terminated
|
||||
connection(ie if a TCP/IP timeout severs the connection to the database).
|
||||
For this reason the <literal>always</literal> option should not be used with
|
||||
container managed EntityManagers.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
Loading…
x
Reference in New Issue
Block a user