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
diff --git a/openjpa-project/src/doc/manual/ref_guide_conf.xml b/openjpa-project/src/doc/manual/ref_guide_conf.xml
index 94555f0..98aa141 100644
--- a/openjpa-project/src/doc/manual/ref_guide_conf.xml
+++ b/openjpa-project/src/doc/manual/ref_guide_conf.xml
@@ -3408,6 +3408,53 @@
 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