com.avaje.ebean.config.dbplatform
Class MySqlBlob
java.lang.Object
com.avaje.ebean.config.dbplatform.DbType
com.avaje.ebean.config.dbplatform.MySqlBlob
public class MySqlBlob
- extends DbType
Support for blob, mediumblob or longblob selection
based on the deployment length.
If no deployment length is defined longblob is used.
Method Summary |
String |
renderType(int deployLength,
int deployScale)
Return the type for a specific property that incorporates the name,
length, precision and scale. |
MySqlBlob
public MySqlBlob()
renderType
public String renderType(int deployLength,
int deployScale)
- Description copied from class:
DbType
- 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 class DbType
- Parameters:
deployLength
- the length or precision defined by deployment on a specific
property.deployScale
- the scale defined by deployment on a specific property.
Copyright © 2010. All Rights Reserved.