Package io.ebean.config.dbplatform.mysql
Class MySqlBlob
- java.lang.Object
-
- io.ebean.config.dbplatform.DbPlatformType
-
- io.ebean.config.dbplatform.mysql.MySqlBlob
-
- All Implemented Interfaces:
io.ebean.config.dbplatform.ExtraDbTypes
public class MySqlBlob extends io.ebean.config.dbplatform.DbPlatformType
Support for blob, mediumblob or longblob selection based on the deployment length.If no deployment length is defined longblob is used.
-
-
Constructor Summary
Constructors Constructor Description MySqlBlob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
renderType(int deployLength, int deployScale)
Return the type for a specific property that incorporates the name, length, precision and scale.
-
-
-
Constructor Detail
-
MySqlBlob
public MySqlBlob()
-
-
Method Detail
-
renderType
public String renderType(int deployLength, int deployScale)
Description copied from class:io.ebean.config.dbplatform.DbPlatformType
Return the type for a specific property that incorporates the name, length, precision and scale.The deployLength and deployScale are for the property we are rendering the DB type for.
- Overrides:
renderType
in classio.ebean.config.dbplatform.DbPlatformType
- Parameters:
deployLength
- the length or precision defined by deployment on a specific property.deployScale
- the scale defined by deployment on a specific property.
-
-