[ 
https://issues.apache.org/jira/browse/OPENJPA-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140189#comment-13140189
 ] 

Kevin Sutter commented on OPENJPA-2025:
---------------------------------------

As a reference, the mailing list discussion that created this JIRA is 
documented here:
http://openjpa.208410.n2.nabble.com/Metamodel-generates-ListAttribute-for-arrays-instead-of-SingularAttribute-tc6529049.html
                
> Byte[] and Char[] should be treated as SingularAttributes, not lists by the 
> metamodel generator
> -----------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2025
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2025
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 2.1.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.2.0
>
>
> Per discussion on the mailing list, the generated metamodel code treats all 
> arrays as persistent collections. This does not make sense for byte[] or 
> char[], but has merit for other types. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to