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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: