java.lang.Object
io.ebean.config.dbplatform.DbPlatformTypeMapping
Used to map bean property types to DB specific types for DDL generation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
config
(boolean nativeUuidType, PlatformConfig.DbUuid dbUuid) Map the UUID appropriately based on native DB support and DatabaseConfig.DbUuid.get
(int jdbcType) Return the type for a given jdbc type.Return the type for a given jdbc type.static DbPlatformTypeMapping
Return the DbTypeMap with standard (not platform specific) types.Lookup the platform specific DbType given the standard sql type name.void
put
(DbType type, DbPlatformType platformType) Override the type for a given JDBC type.
-
Constructor Details
-
DbPlatformTypeMapping
public DbPlatformTypeMapping()
-
-
Method Details
-
logicalTypes
Return the DbTypeMap with standard (not platform specific) types.This has some extended JSON types (JSON, JSONB, JSONVarchar, JSONClob, JSONBlob). These types get translated to specific database platform types during DDL generation.
-
lookup
Lookup the platform specific DbType given the standard sql type name. -
put
Override the type for a given JDBC type. -
get
Return the type for a given jdbc type. -
get
Return the type for a given jdbc type. -
config
Map the UUID appropriately based on native DB support and DatabaseConfig.DbUuid.
-