Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.0
-
None
-
None
Description
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.
Attachments
Issue Links
- is depended upon by
-
OPENJPA-2025 Byte[] and Char[] should be treated as SingularAttributes, not lists by the metamodel generator
- Closed
- is related to
-
OPENJPA-2070 Error processing while populating Metamodel classes needs improvement
- Closed
- relates to
-
OPENJPA-2060 AnnotationProcess failed to generate metadata for List<String>[] attribute in entity
- Resolved