[hibernate-commits] Hibernate SVN: r20099 - in core/branches/Branch_3_5: documentation/manual/src/main/docbook/en-US/content and 1 other directory.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Aug 2 17:58:18 EDT 2010


Author: sannegrinovero
Date: 2010-08-02 17:58:18 -0400 (Mon, 02 Aug 2010)
New Revision: 20099

Modified:
   core/branches/Branch_3_5/core/src/main/java/org/hibernate/bytecode/BytecodeProvider.java
   core/branches/Branch_3_5/documentation/manual/src/main/docbook/en-US/content/configuration.xml
Log:
HHH-5259 Invalid reflection optimization configuration property name in Hibernate documentation (branch 3.5.x)

Modified: core/branches/Branch_3_5/core/src/main/java/org/hibernate/bytecode/BytecodeProvider.java
===================================================================
--- core/branches/Branch_3_5/core/src/main/java/org/hibernate/bytecode/BytecodeProvider.java	2010-08-02 21:19:55 UTC (rev 20098)
+++ core/branches/Branch_3_5/core/src/main/java/org/hibernate/bytecode/BytecodeProvider.java	2010-08-02 21:58:18 UTC (rev 20099)
@@ -33,8 +33,8 @@
  * Bytecode requirements break down into basically 3 areas<ol>
  * <li>proxy generation (both for runtime-lazy-loading and basic proxy generation)
  * {@link #getProxyFactoryFactory()}
- * <li>bean relection optimization {@link #getReflectionOptimizer}
- * <li>field-access instumentation {@link #getTransformer}
+ * <li>bean reflection optimization {@link #getReflectionOptimizer}
+ * <li>field-access instrumentation {@link #getTransformer}
  * </ol>
  *
  * @author Steve Ebersole
@@ -44,7 +44,7 @@
 	 * Retrieve the specific factory for this provider capable of
 	 * generating run-time proxies for lazy-loading purposes.
 	 *
-	 * @return The provider specifc factory.
+	 * @return The provider specific factory.
 	 */
 	public ProxyFactoryFactory getProxyFactoryFactory();
 

Modified: core/branches/Branch_3_5/documentation/manual/src/main/docbook/en-US/content/configuration.xml
===================================================================
--- core/branches/Branch_3_5/documentation/manual/src/main/docbook/en-US/content/configuration.xml	2010-08-02 21:19:55 UTC (rev 20098)
+++ core/branches/Branch_3_5/documentation/manual/src/main/docbook/en-US/content/configuration.xml	2010-08-02 21:58:18 UTC (rev 20099)
@@ -955,7 +955,7 @@
             </tgroup>
         </table>
 
-        <table frame="topbot" id="configuration-misc-properties" revision="10">
+        <table frame="topbot" id="configuration-misc-properties" revision="11">
             <title>Miscellaneous Properties</title>
             <tgroup cols="2">
                 <colspec colname="c1" colwidth="1*"/>
@@ -1028,19 +1028,29 @@
                     </row>
                     <row>
                         <entry>
-                            <literal>hibernate.cglib.use_reflection_optimizer</literal>
+                            <literal>hibernate.bytecode.use_reflection_optimizer</literal>
                         </entry>
                         <entry>
-                            Enables the use of CGLIB instead of runtime reflection (System-level
-                            property). Reflection can sometimes be useful when troubleshooting.
-                            Hibernate always requires CGLIB even if you turn off the
-                            optimizer. You cannot set this property in <literal>hibernate.cfg.xml</literal>.
-                            <para>
-                                <emphasis role="strong">e.g.</emphasis> 
-                                <literal>true</literal> | <literal>false</literal>
-                            </para>
+                            <para>Enables the use of bytecode manipulation instead of
+                            runtime reflection. This is a System-level property and cannot be set
+                            in <literal>hibernate.cfg.xml</literal>.
+                            Reflection can sometimes be useful when troubleshooting.
+                            Hibernate always requires either CGLIB or javassist even
+                            if you turn off the optimizer.</para><para> <emphasis
+                            role="strong">e.g.</emphasis> <literal>true</literal> |
+                            <literal>false</literal> </para>
                         </entry>
                     </row>
+                    <row>
+                        <entry>
+                            <literal>hibernate.bytecode.provider</literal>
+                        </entry>
+                        <entry><para>Both javassist or cglib can be used as byte manipulation
+                            engines; the default is <literal>javassist</literal>.</para><para> <emphasis
+                            role="strong">e.g.</emphasis> <literal>javassist</literal> |
+                            <literal>cglib</literal> </para>
+                        </entry>
+                    </row>
                 </tbody>
             </tgroup>
         </table>



More information about the hibernate-commits mailing list