Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2586

Char can't be materialized to EnumType in some cases

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.1, 4.1.B2
    • Fix Version/s: 4.0.2, 4.1.RC1
    • Component/s: Core Library
    • Labels:
      None

      Description

      Test case:

      DbEntity has char attribute with max size.

      ObjEntity has enum attribute mapped to char column.

      Bug appears when trying to select this entity because no RTRIM was added to this select.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aarrsseni Arseni Bulatski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: