openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OPENJPA-2027) Metamodel genereated at runtime expects ListAttribute for all arrays - not just PersistentCollections.
Date Wed, 06 Jul 2011 18:04:16 GMT
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

        

Mime
View raw message