Hibernate version:3.1.3
I'm trying to use lazy property by using bytecode instrumentation and it works fine when I run a test case in my IDE. In the logs I can see the line "lazy property fetching available for:" in front of the class where I have implemented lazy property
However, when I run the same code inside Weblogic (v8.1), the lazy behaviour disappears. The above line doesnot appear in the debug logs. It would seem that Hibernate can somehow not sense the instrumentation.
I have confirmed that the class file in the packaged ear does have the instrumentation.
I've tried pre-pending the hibernate 3.1.3 versions of cglib.jar, asm.jar and asm-attrs.jar to the Weblogic classpath but it refuses to recognize the instrumentation.
Any pointers to what could be going wrong?
Thanks
|