My bad. To turn off cglib you need to set it as a system-level property.
java -Dhibernate.cglib.use_reflection_optimizer=false
http://www.hibernate.org/hib_docs/v3/reference/en/html/session-configuration.html#configuration-misc-properties
hibernate.cglib.use_reflection_optimizer=false
Enables/dis
http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch13.html#ch13.config.table
hibernate.cglib.use_reflection_optimizer=false
Set this in hibernate.properties, as a java system property, or by calling
Configuration#setProperty() directly.
You can postpone the problem a bit using the java command
Jeff,
Thanks for the info! How do I turn off CGLIB?
Thanks,
John Mitchell
On 6/4/07, Jeoff Wilks <[EMAIL PROTECTED]> wrote:
Every time the CGLIB Enhancer generates a new class, that generated class
jumps straight to the PermGen (permanent generation) of your java heap.
CGLIB Enhancers are f
Every time the CGLIB Enhancer generates a new class, that generated class
jumps straight to the PermGen (permanent generation) of your java heap.
CGLIB Enhancers are faster in terms of performance, but more dangerous in
terms of memory consumption. (I ran into this same problem with another
produc
Hi,
I have been having to restart Apache Tomcat as frequently as once a day and
I suspect the problem is related to hibernate.
I have attached an error log from apache tomcat:
I get the following error below
ERROR BasicLazyInitializer:105 - CBLIB Enhancement failed:
com.insequence.gv.ProductOr