Package io.ebean.config.dbplatform.mysql
Class MySqlClob
java.lang.Object
io.ebean.config.dbplatform.DbPlatformType
io.ebean.config.dbplatform.mysql.MySqlClob
- All Implemented Interfaces:
ExtraDbTypes
public class MySqlClob extends DbPlatformType
Support for text, mediumtext or longtext selection based on the deployment
length.
If no deployment length is defined longtext is used.
-
Field Summary
Fields inherited from interface io.ebean.config.dbplatform.ExtraDbTypes
CIDR, HSTORE, INET, JSON, JSONB, JSONBlob, JSONClob, JSONVarchar, LINESTRING, LOCALDATETIME, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, UUID -
Constructor Summary
Constructors Constructor Description MySqlClob() -
Method Summary
Modifier and Type Method Description StringrenderType(int deployLength, int deployScale)Return the type for a specific property that incorporates the name, length, precision and scale.Methods inherited from class io.ebean.config.dbplatform.DbPlatformType
getDefaultLength, getDefaultScale, getName, parse, renderType, withLength
-
Constructor Details
-
MySqlClob
public MySqlClob()
-
-
Method Details
-
renderType
Description copied from class:DbPlatformTypeReturn 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:
renderTypein classDbPlatformType- Parameters:
deployLength- the length or precision defined by deployment on a specific property.deployScale- the scale defined by deployment on a specific property.
-