EclipseLink requires that if you statically enhance your classes you need to make sure you include the persistence.xml property named "eclipselink.weaving" and set it to the value "static":
http://wiki.eclipse.org/Using_EclipseLi ... A_EntitiesI know that Hibernate frowns on bytecode enhancement. Nevertheless it is offered:
http://docs.jboss.org/hibernate/core/3. ... tTask.htmlIf I use it, do I need to add any properties to persistence.xml or hibernate.properties? None of the documentation seems to indicate that I do.
I did notice the cryptically named hibernate.bytecode.use_reflection_optimizer property:
http://docs.jboss.org/hibernate/core/3. ... n-optionalSince I've already enhanced my classes at build time, I want to make sure that Hibernate doesn't try to then enhance them or do anything fancy at runtime. Do I need to do anything explicit?
Thanks,
Laird