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

ASF subversion and git services commented on OPENJPA-2027:
----------------------------------------------------------

Commit 1469452 from hthomann
[ https://svn.apache.org/r1469452 ]

OPENJPA-2027: Metamodel genereated at runtime expects ListAttribute for all 
arrays - not just PersistentCollections.  Back-ported Mike Dick's trunk changes 
to 2.1.x; made Compatibility property default to true.
                
> Metamodel genereated at runtime expects ListAttribute for all arrays - not 
> just PersistentCollections. 
> -------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2027
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2027
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.2.0
>
>
> This is the runtime portion of the problem reported in OPENJPA-2025. 
> The problem here is that every array is treated as a list attribute. If the 
> array is annotated with the @PersistentCollection annotation it makes sense 
> to treat it like the other collection types, but in the case of an 
> un-annotated byte[] (blob), or char[] (varchar), it makes more sense to use a 
> SingularAttribute.  

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

Reply via email to