Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.2, 1.3.0, 2.0.0-M3, 2.0.0-beta
-
None
Description
I get the following exception when I call setVersion(..) on an enhanced property access Entity.
java.lang.NoSuchMethodError: org/apache/openjpa/persistence/detachment/model/NoDetachedStateEntityPropertyAccess.pcsetPcVersionInit(Z)V
at org.apache.openjpa.persistence.detachment.model.NoDetachedStateEntityPropertyAccess.setVersion(NoDetachedStateEntityPropertyAccess.java)
It appears that the bytecode that is generated by the enhancer added an invalid method call to the setVersion() method.