OPENJPA-2632 add documentation for the new UseTCCLinSelectNew config switch

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1735190 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Struberg 2016-03-16 07:27:09 +00:00
parent a453aa9f46
commit bf2ffecbc0
1 changed files with 47 additions and 0 deletions

View File

@ -3408,6 +3408,53 @@ TransactionMode</literal>
use. You can override this setting per-session.
</para>
</section>
<section id="openjpa.UseTCCLinSelectNew">
<title>
openjpa.UseTCCLinSelectNew
</title>
<indexterm zone="openjpa.UseTCCLinSelectNew">
<primary>
UseTCCLinSelectNew
</primary>
</indexterm>
<indexterm zone="openjpa.UseTCCLinSelectNew">
<primary>
classloading
</primary>
<secondary>
UseTCCLinSelectNew
</secondary>
</indexterm>
<para>
<emphasis role="bold">Property name: </emphasis><literal>openjpa.UseTCCLinSelectNew</literal>
</para>
<para>
<emphasis role="bold">Configuration API:</emphasis>
<ulink url="../javadoc/org/apache/openjpa/conf/OpenJPAConfiguration.html#getUseTCCLinSelectNew()">
<methodname>org.apache.openjpa.conf.OpenJPAConfiguration.getUseTCCLinSelectNew
</methodname></ulink>
</para>
<para>
<emphasis role="bold">Resource adaptor config-property: </emphasis><literal>UseTCCLinSelectNew</literal>
</para>
<para>
<emphasis role="bold">Default: </emphasis><literal>false</literal>
</para>
<para>
<emphasis role="bold">Since: </emphasis><literal>OpenJPA-2.4.2</literal>
</para>
<para>
<emphasis role="bold">Possible values: </emphasis><literal>true</literal>,
<literal>false</literal>
</para>
<para>
<emphasis role="bold">Description:</emphasis> Whether to try to use the ThreadContextClassLoader
as fallback if the given class in a <literal>SELECT NEW</literal> statement could not be found
with the default ClassLoader. This is mostly useful in EAR and OSGi environments.
By default the ClassLoader of the entity is used.
</para>
</section>
<section id="openjpa.WriteLockLevel">
<title>
openjpa.WriteLockLevel