Incorrect column type for LOB streaming in MySQL
------------------------------------------------

                 Key: OPENJPA-1667
                 URL: https://issues.apache.org/jira/browse/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.

Reply via email to