openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jody Grassel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2025) Byte[] and Char[] should be treated as SingularAttributes, not lists by the metamodel generator
Date Tue, 02 Jul 2013 19:43:21 GMT

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

Jody Grassel commented on OPENJPA-2025:
---------------------------------------

Add this to the javac command: -Aopenjpa.Compatibility=UseListAttributeForArrays={true or
false}, ie.

-Aopenjpa.Compatibility=UseListAttributeForArrays=false
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message