openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milosz Tylenda (JIRA)" <>
Subject [jira] Created: (OPENJPA-1667) Incorrect column type for LOB streaming in MySQL
Date Sun, 16 May 2010 11:56:42 GMT
Incorrect column type for LOB streaming in MySQL

                 Key: OPENJPA-1667
             Project: OpenJPA
          Issue Type: Bug
          Components: sql
    Affects Versions: 2.0.0, 1.3.0
         Environment: MySQL 5.1.30
            Reporter: Milosz Tylenda
            Assignee: Milosz Tylenda
            Priority: Minor

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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message