[hibernate-commits] Hibernate SVN: r20098 - in core/trunk: 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:19:56 EDT 2010
Author: sannegrinovero
Date: 2010-08-02 17:19:55 -0400 (Mon, 02 Aug 2010)
New Revision: 20098
Modified:
core/trunk/core/src/main/java/org/hibernate/bytecode/BytecodeProvider.java
core/trunk/documentation/manual/src/main/docbook/en-US/content/configuration.xml
Log:
HHH-5259 Invalid reflection optimization configuration property name in Hibernate documentation
Modified: core/trunk/core/src/main/java/org/hibernate/bytecode/BytecodeProvider.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/bytecode/BytecodeProvider.java 2010-08-02 18:51:45 UTC (rev 20097)
+++ core/trunk/core/src/main/java/org/hibernate/bytecode/BytecodeProvider.java 2010-08-02 21:19:55 UTC (rev 20098)
@@ -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/trunk/documentation/manual/src/main/docbook/en-US/content/configuration.xml
===================================================================
--- core/trunk/documentation/manual/src/main/docbook/en-US/content/configuration.xml 2010-08-02 18:51:45 UTC (rev 20097)
+++ core/trunk/documentation/manual/src/main/docbook/en-US/content/configuration.xml 2010-08-02 21:19:55 UTC (rev 20098)
@@ -835,7 +835,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">
@@ -917,16 +917,26 @@
</row>
<row>
- <entry><literal>hibernate.cglib.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
+ <entry><literal>hibernate.bytecode.use_reflection_optimizer</literal></entry>
+
+ <entry><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