You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Kevin Sutter (JIRA)" <ji...@apache.org> on 2009/05/19 18:22:45 UTC

[jira] Updated: (OPENJPA-406) refresh() on a runtime enhanced class not working as expected

     [ https://issues.apache.org/jira/browse/OPENJPA-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Sutter updated OPENJPA-406:
---------------------------------

    Component/s: UnenhancedClasses

> refresh() on a runtime enhanced class not working as expected
> -------------------------------------------------------------
>
>                 Key: OPENJPA-406
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-406
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: kernel, UnenhancedClasses
>    Affects Versions: 1.0.0, 1.0.1, 1.1.0
>            Reporter: Kevin Sutter
>         Attachments: RefreshTest.patch
>
>
> This started as a discussion on the dev mailing list:  http://www.nabble.com/em.refresh%28%29-semantics-tf4571479.html
> It seems that when the automatic runtime enhancement kicks in (because the Entity was not pre-enhanced nor run through a classloading transformer), then changes to the Entity are not properly detected and the refresh() method does not process correctly.  A simple change to the TestPersistence testcase demonstrates this problem (if you don't pre-enhance the class).  I will attach my testcase diagnostic patch to this Issue.
> More background details and discussion can be found in the mailing list archive.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.