[
https://issues.apache.org/jira/browse/OPENJPA-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Curtis reassigned OPENJPA-1482:
------------------------------------
Assignee: Michael Dick (was: Rick Curtis)
> NoSuchMethodError when calling setVersion on an enhanced property access
> Entity
> -------------------------------------------------------------------------------
>
> Key: OPENJPA-1482
> URL: https://issues.apache.org/jira/browse/OPENJPA-1482
> Project: OpenJPA
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.2.2, 1.3.0, 2.0.0-M3, 2.0.0-beta
> Reporter: Rick Curtis
> Assignee: Michael Dick
> Fix For: 1.2.3
>
> Attachments: OPENJPA-1482-1.2.x.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.