From hibernate-commits at lists.jboss.org Mon Aug 2 17:58:18 2010 Content-Type: multipart/mixed; boundary="===============3656925790977140390==" MIME-Version: 1.0 From: hibernate-commits at lists.jboss.org To: hibernate-commits at lists.jboss.org Subject: [hibernate-commits] Hibernate SVN: r20099 - in core/branches/Branch_3_5: documentation/manual/src/main/docbook/en-US/content and 1 other directory. Date: Mon, 02 Aug 2010 17:58:18 -0400 Message-ID: <201008022158.o72LwITC029488@svn01.web.mwc.hst.phx2.redhat.com> --===============3656925790977140390== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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/Bytec= odeProvider.java core/branches/Branch_3_5/documentation/manual/src/main/docbook/en-US/con= tent/configuration.xml Log: HHH-5259 Invalid reflection optimization configuration property name in Hib= ernate documentation (branch 3.5.x) Modified: core/branches/Branch_3_5/core/src/main/java/org/hibernate/bytecod= e/BytecodeProvider.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- core/branches/Branch_3_5/core/src/main/java/org/hibernate/bytecode/Byte= codeProvider.java 2010-08-02 21:19:55 UTC (rev 20098) +++ core/branches/Branch_3_5/core/src/main/java/org/hibernate/bytecode/Byte= codeProvider.java 2010-08-02 21:58:18 UTC (rev 20099) @@ -33,8 +33,8 @@ * Bytecode requirements break down into basically 3 areas
    *
  1. proxy generation (both for runtime-lazy-loading and basic proxy gen= eration) * {@link #getProxyFactoryFactory()} - *
  2. bean relection optimization {@link #getReflectionOptimizer} - *
  3. field-access instumentation {@link #getTransformer} + *
  4. bean reflection optimization {@link #getReflectionOptimizer} + *
  5. field-access instrumentation {@link #getTransformer} *
* * @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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- core/branches/Branch_3_5/documentation/manual/src/main/docbook/en-US/co= ntent/configuration.xml 2010-08-02 21:19:55 UTC (rev 20098) +++ core/branches/Branch_3_5/documentation/manual/src/main/docbook/en-US/co= ntent/configuration.xml 2010-08-02 21:58:18 UTC (rev 20099) @@ -955,7 +955,7 @@ = - +
Miscellaneous Properties @@ -1028,19 +1028,29 @@ - hibernate.cglib.use_reflection_optimi= zer + hibernate.bytecode.use_reflection_opt= imizer - Enables the use of CGLIB instead of runtime re= flection (System-level - property). Reflection can sometimes be useful = when troubleshooting. - Hibernate always requires CGLIB even if you tu= rn off the - optimizer. You cannot set this property in hibernate.cfg.xml. - - e.g. = - true | false - + Enables the use of bytecode manipulation= instead of + runtime reflection. This is a System-level pro= perty and cannot be set + in hibernate.cfg.xml. + Reflection can sometimes be useful when troubl= eshooting. + Hibernate always requires either CGLIB or java= ssist even + if you turn off the optimizer. e.g. true<= /literal> | + false + + + hibernate.bytecode.provider + + Both javassist or cglib can be used a= s byte manipulation + engines; the default is javassist. e.g. javas= sist | + cglib + +
--===============3656925790977140390==--