[JPA] BUG in the class weaver
I encountered a bug in the class weaver. In the next post, I will provide a test case which causes the bug to appear. In short, however, I'm getting errors like this:
Exception in thread "Main Thread" java.lang.NoSuchMethodError: _toplink_getorder1
Just to summarize, the error appears when there are two @ManyToOne relationships to one and the same Entity class and one of them is EAGER, while the other is LAZY.
The bug appears even with the latest GlassFish Release Candidate 2:
Oracle TopLink Essentials - 2.0 (Build b58a-rc2 (08/09/2007))
It appears both in Java SE and in Java EE (OC4J 10.1.3.3).
As I said, I will provide the test case in the next post.