Blob types override column definition from @Column annotation with MySQL
------------------------------------------------------------------------

                 Key: OPENJPA-1870
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1870
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 2.0.2
            Reporter: Michael Dick
            Assignee: Michael Dick
             Fix For: 2.1.0


Per email to us...@openjpa, an entity with this annotation :

@Column(columnDefinition=BINARY(250)) 
private byte[] blobs; 

creates a column of type BLOB when using MySQL.. This behavior was introduced 
in OPENJPA-740, which optimizes the blob storage based on the size of the 
column, but does not take into account any existing annotations. 

-- 
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