Hibernate version: 3.1.3
Name and version of the database you are using: Oracle 10
Hi I have a question regarding how many-to-one relationship should be
defined where the parent class is same type as the child class.
Person table
-
- name
- surname
- na
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