openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: Metamodel generates ListAttribute for arrays instead of SingularAttribute
Date Thu, 30 Jun 2011 16:14:34 GMT
You also mentioned that the canonical metamodel must match what Dali decided
for byte[] as SingularAttibute (which, of course, is a gray area because JPA
spec is almost silent about arrays of any component type). In fact, Dali
folks, if they have provision for each vendor, allow the vendo to generate
these metamodel classes rather than generating by themselves o using a
specific providers tooling.  

But given that ali-compliance is also a 'requirement', the source code
generation of annotation processor also needs to be tweaked. My hunch is
treating arrays differently based on its component type is not going to be
pretty overall. 

-----
Pinaki 
--
View this message in context: http://openjpa.208410.n2.nabble.com/Metamodel-generates-ListAttribute-for-arrays-instead-of-SingularAttribute-tp6529049p6533943.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Mime
View raw message