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

Incorrect column type for LOB streaming in MySQL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0, 2.0.0
    • 1.3.0, 2.1.0
    • sql
    • None
    • MySQL 5.1.30

    Description

      After the changes made in OPENJPA-740, a LOB streaming field is mapped to TINYBLOB instead of BLOB in MySQL. This is because column size is -1 and in MySQLDictionary.getColumnType we assume that only size = 0 means "size unknown". Adding a check for -1 will probably resolve the issue.

      Attachments

        Issue Links

          Activity

            People

              milosz Milosz Tylenda
              milosz Milosz Tylenda
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: