openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milosz Tylenda (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-834) State field mapped to XML column has incorrect value when loaded from database
Date Sat, 20 Dec 2008 10:28:44 GMT

     [ 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.


Mime
View raw message