com.avaje.ebean.config.dbplatform
Class MySqlClob

java.lang.Object
  extended by com.avaje.ebean.config.dbplatform.DbType
      extended by com.avaje.ebean.config.dbplatform.MySqlClob

public class MySqlClob
extends DbType

Support for text, mediumtext or longtext selection based on the deployment length.

If no deployment length is defined longtext is used.


Constructor Summary
MySqlClob()
           
 
Method Summary
 String renderType(int deployLength, int deployScale)
          Return the type for a specific property that incorporates the name, length, precision and scale.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySqlClob

public MySqlClob()
Method Detail

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.