OpenJPA
  1. OpenJPA
  2. OPENJPA-2025

Byte[] and Char[] should be treated as SingularAttributes, not lists by the metamodel generator

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: tooling
    • Labels:
      None

      Description

      Per discussion on the mailing list, the generated metamodel code treats all arrays as persistent collections. This does not make sense for byte[] or char[], but has merit for other types.

        Issue Links

          Activity

          Michael Dick created issue -
          Michael Dick made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Michael Dick made changes -
          Fix Version/s 2.2.0 [ 12315910 ]
          Michael Dick made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Michael Dick made changes -
          Link This issue depends on OPENJPA-2027 [ OPENJPA-2027 ]
          Albert Lee made changes -
          Link This issue relates to OPENJPA-2060 [ OPENJPA-2060 ]
          Gavin made changes -
          Link This issue depends on OPENJPA-2027 [ OPENJPA-2027 ]
          Gavin made changes -
          Link This issue depends upon OPENJPA-2027 [ OPENJPA-2027 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development