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

DerbyDictionary doesn't describe a working mapping for char fields.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.7
    • None
    • sql
    • None

    Description

      If a class has a char field mapped to CHAR or CHAR(1) in a derby database, the derby dictionary sets up a mapping to an integer column which doesn't work. openjpa tries to store e.g. the string "97" for the char 'a' which results in a truncation error.

      Attachments

        1. OPENJPA-221.patch
          2 kB
          David Jencks

        Activity

          People

            Unassigned Unassigned
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: