From: Martin S. (JIRA) <no...@at...> - 2006-05-19 00:33:22
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-227?page=comments#action_23129 ] Martin Schulz commented on HHH-227: ----------------------------------- Sould also change etc/hibernate.properties as per the following patch (note the forgotten name change of hte property!!): $ diff -u etc/hibernate.properties.bak etc/hibernate.properties --- etc/hibernate.properties.bak 2006-05-18 20:26:46.000000000 -0400 +++ etc/hibernate.properties 2006-05-18 20:27:20.000000000 -0400 @@ -357,9 +357,9 @@ #hibernate.use_identifer_rollback true -## enable CGLIB reflection optimizer (enabled by default) +## enable CGLIB reflection optimizer (disabled by default) -#hibernate.cglib.use_reflection_optimizer false +#hibernate.cglib.use_reflection_optimizer true > remove reflection optimizer > --------------------------- > > Key: HHH-227 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-227 > Project: Hibernate3 > Type: Improvement > Components: core > Reporter: Juozas Baliuka > Assignee: amit bhayani > Priority: Minor > Fix For: 3.2.0 cr1 > Attachments: Environment.java > > > Probably it is a good time to drop "reflection_optimizer" (or to dissable it by default), SUN JVM generates code since jdk 1.4.2 to optimize native calls in reflection itself, double code generation just wastes memory (cglib is bit faster, but difference is too trivial to be usefull for data access). > This stuff confuses users. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |