Class CustomDbTypeMapping

java.lang.Object
io.ebean.config.CustomDbTypeMapping

public class CustomDbTypeMapping extends Object
Custom mappings for DB types that override the default.
See Also:
DatabaseConfig.addCustomMapping(DbType, String)
  • Constructor Details

  • Method Details

    • getType

      public DbType getType()
      Return the DB type the mapping applies to.
    • getColumnDefinition

      Return the DB column definition to use.
    • getPlatform

      public io.ebean.annotation.Platform getPlatform()
      Return the platform this mapping should apply to. Null means it applied to all platforms.