In Mysql @Column(columnDefinition = "mediumblob") does not work
---------------------------------------------------------------

                 Key: OPENJPA-1997
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1997
             Project: OpenJPA
          Issue Type: Bug
          Components: jpa
    Affects Versions: 2.1.0
         Environment: linux, jdk1.6, mysql 5.1, openjpa 2.1.0
            Reporter: Ted Leung


I have a field :

        @Column(nullable = false, columnDefinition = "mediumblob")
        private byte[] data;

The generated sql comes out to be : "data BLOB NOT NULL"
The expectation was : "data mediumblob NOT NULL"

this seems like something that came up before in OPENJPA-740 and OPENJPA-224 , 
224 even says it's fixed in 2.1.0 but does not appear to be so.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to