Class PlatformTypeConverter

java.lang.Object
io.ebeaninternal.dbmigration.ddlgeneration.platform.util.PlatformTypeConverter

public class PlatformTypeConverter extends Object
Converts a logical column definition into platform specific one.

This translates standard sql types into platform specific ones.

  • Constructor Details

    • PlatformTypeConverter

      public PlatformTypeConverter(io.ebean.config.dbplatform.DbPlatformTypeMapping platformTypes)
      Construct with the platform specific types.
  • Method Details

    • convert

      public String convert(String columnDefinition)
      Convert the standard type to the platform specific type.