HHH-5259 Invalid reflection optimization configuration property name in Hibernate documentation

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20098 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Sanne Grinovero 2010-08-02 21:19:55 +00:00
parent 217898d8aa
commit dc6fe99c37
2 changed files with 21 additions and 11 deletions

View File

@ -33,8 +33,8 @@ import org.hibernate.bytecode.util.FieldFilter;
* 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 @@ public interface BytecodeProvider {
* 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();

View File

@ -835,7 +835,7 @@ hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect</programlisting>
</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 @@ hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect</programlisting>
</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>