[
https://issues.apache.org/jira/browse/OPENJPA-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16549158#comment-16549158
]
Francesco Chicchiriccò commented on OPENJPA-2567:
-------------------------------------------------
As a workaround, we do use
{code}
org.apache.openjpa.jdbc.sql.MySQLDictionary(blobTypeName=LONGBLOB)
{code}
> TINY/MEDIUM/LONG TEXT fields for MySQL are not supported
> --------------------------------------------------------
>
> Key: OPENJPA-2567
> URL: https://issues.apache.org/jira/browse/OPENJPA-2567
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc
> Affects Versions: 2.3.0
> Reporter: Maxim Solodovnik
> Priority: Major
> Fix For: 3.0.1
>
> Attachments: text_fields_3.patch
>
>
> All string fields annotated with @Lob are being created in MySQL DB as "TEXT"
> no matter of length
> Attached patch fixes this for trunk
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)