Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2027

Metamodel genereated at runtime expects ListAttribute for all arrays - not just PersistentCollections.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: None
    • Labels:
      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

            Activity

              People

              • Assignee:
                mikedd Michael Dick
                Reporter:
                mikedd Michael Dick
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: