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.

  • Constructor Details

  • Method Details

    • renderType

      public String renderType​(int deployLength, int deployScale)
      Description copied from class: 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 class DbPlatformType
      Parameters:
      deployLength - the length or precision defined by deployment on a specific property.
      deployScale - the scale defined by deployment on a specific property.