OpenJPA
  1. OpenJPA
  2. OPENJPA-489

DB2Dictionary casts string data to VARCHAR(1000) regardless of data length

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.0.1
    • Fix Version/s: 1.1.0
    • Component/s: sql
    • Labels:
      None

      Description

      DB2Dictionary performs CASTs on string data (among other types). When CASTing a string, the value is cast to a VARCHAR(1000), which seems like it could be problematic if the underlying data is actually longer than 1000 characters.

        Activity

        Patrick Linskey created issue -
        Patrick Linskey made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 56m 1 Patrick Linskey 16/Jan/08 03:51
        Resolved Resolved Closed Closed
        783d 14h 40m 1 Donald Woods 09/Mar/10 18:32

          People

          • Assignee:
            Unassigned
            Reporter:
            Patrick Linskey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development