You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Milosz Tylenda (JIRA)" <ji...@apache.org> on 2008/12/20 11:28:44 UTC
[jira] Updated: (OPENJPA-834) State field mapped to XML column has
incorrect value when loaded from database
[ 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<String>. 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.