[ 
https://issues.apache.org/jira/browse/OPENJPA-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Dick closed OPENJPA-2027.
---------------------------------


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

        

Reply via email to