Bug 156 : Add support for MySql MediumClob and LongClob, MediumBlob etc datatypes
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.2.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
17/09/2009
Updated 
17/09/2009
Type 
Bug
 
Attachments 
No attachments

Depending on the length of the columns, generate the appropriate MySql column types.

 
Rob 17 Sep 13:15
Probably

Probably something like ...
in MySqlPlatform... register a special DbType for VARCHAR, CLOB, BINARY, BLOB ... that depending on the "deployLength" renders as VARCHAR, MEDIUMCLOB, CLOB etc

Aka... create a class that extends DbType .. to override the method:

public String renderType(int deployLength, int deployScale);

Rob 28 Oct 08:59
Fixed

Added MySqlClob and MySqlBlob objects to handle the switching between types depending on the deployment length.

Fixed in HEAD.

woResponse

Upload a file