Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 44083 invoked from network); 16 Oct 2007 22:36:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2007 22:36:20 -0000 Received: (qmail 207 invoked by uid 500); 16 Oct 2007 22:36:07 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 181 invoked by uid 500); 16 Oct 2007 22:36:07 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 172 invoked by uid 99); 16 Oct 2007 22:36:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 15:36:07 -0700 X-ASF-Spam-Status: No, hits=-99.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 22:36:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C26D87141EB for ; Tue, 16 Oct 2007 15:35:50 -0700 (PDT) Message-ID: <31174317.1192574150794.JavaMail.jira@brutus> Date: Tue, 16 Oct 2007 15:35:50 -0700 (PDT) From: "Kevin Sutter (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-406) refresh() on a runtime enhanced class not working as expected In-Reply-To: <11091400.1192574150576.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Sutter updated OPENJPA-406: --------------------------------- Attachment: RefreshTest.patch > 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 > 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.