From dev-return-9938-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Sat Dec 20 10:29:05 2008 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 84929 invoked from network); 20 Dec 2008 10:29:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Dec 2008 10:29:05 -0000 Received: (qmail 36071 invoked by uid 500); 20 Dec 2008 10:29:05 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 36052 invoked by uid 500); 20 Dec 2008 10:29:04 -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 36041 invoked by uid 99); 20 Dec 2008 10:29:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Dec 2008 02:29:04 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Dec 2008 10:29:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 45BBE234C462 for ; Sat, 20 Dec 2008 02:28:44 -0800 (PST) Message-ID: <1004920103.1229768924284.JavaMail.jira@brutus> Date: Sat, 20 Dec 2008 02:28:44 -0800 (PST) From: "Milosz Tylenda (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-834) State field mapped to XML column has incorrect value when loaded from database In-Reply-To: <472208807.1229634704188.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-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Milosz Tylenda updated OPENJPA-834: ----------------------------------- Attachment: OPENJPA-834.patch The patch adds a setter for the street property. If applying the patch, please remove the @AllowFailure from the test case. > State field mapped to XML column has incorrect value when loaded from database > ------------------------------------------------------------------------------ > > Key: OPENJPA-834 > URL: https://issues.apache.org/jira/browse/OPENJPA-834 > Project: OpenJPA > Issue Type: Bug > Components: kernel > Affects Versions: 1.3.0, 2.0.0 > Environment: Database with XML column support > Reporter: Milosz Tylenda > Attachments: OPENJPA-834.patch > > > The org.apache.openjpa.persistence.xmlmapping.xmlbindings.myaddress.Address is a class with JAXB annotations. It has a property street of type List. When an entity containing Address in its state field is loaded from database, the street property is empty. > My initial investigation led me to a conclusion that the issue is caused by a proxy returned from ProxyManagerImpl.newCustomProxy(Object) which does not behave correctly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.