openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milosz Tylenda (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OPENJPA-1667) Incorrect column type for LOB streaming in MySQL
Date Wed, 26 May 2010 09:58:32 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Milosz Tylenda resolved OPENJPA-1667.
-------------------------------------

    Fix Version/s: 1.3.0
                   2.1.0
       Resolution: Fixed

> 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: 1.3.0, 2.0.0
>         Environment: MySQL 5.1.30
>            Reporter: Milosz Tylenda
>            Assignee: Milosz Tylenda
>            Priority: Minor
>             Fix For: 1.3.0, 2.1.0
>
>
> 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.


Mime
View raw message