java.lang.Object
io.ebean.config.CustomDbTypeMapping
Custom mappings for DB types that override the default.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCustomDbTypeMapping
(DbType type, String columnDefinition) Create a mapping that should apply to all the database platforms.CustomDbTypeMapping
(DbType type, String columnDefinition, io.ebean.annotation.Platform platform) Create a mapping. -
Method Summary
Modifier and TypeMethodDescriptionReturn the DB column definition to use.io.ebean.annotation.Platform
Return the platform this mapping should apply to.getType()
Return the DB type the mapping applies to.
-
Field Details
-
type
-
columnDefinition
-
platform
protected final io.ebean.annotation.Platform platform
-
-
Constructor Details
-
Method Details
-
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.
-