Package | Description |
---|---|
io.ebean.config |
Configuration settings for EbeanServer construction
|
io.ebean.config.dbplatform |
Database platform specific support
|
Modifier and Type | Method and Description |
---|---|
DbType |
CustomDbTypeMapping.getType()
Return the DB type the mapping applies to.
|
Modifier and Type | Method and Description |
---|---|
void |
PlatformConfig.addCustomMapping(DbType type,
String columnDefinition)
Add a custom type mapping that applies to all platforms.
|
void |
ServerConfig.addCustomMapping(DbType type,
String columnDefinition)
Add a custom type mapping that applies to all platforms.
|
void |
PlatformConfig.addCustomMapping(DbType type,
String columnDefinition,
io.ebean.annotation.Platform platform)
Add a custom type mapping.
|
void |
ServerConfig.addCustomMapping(DbType type,
String columnDefinition,
io.ebean.annotation.Platform platform)
Add a custom type mapping.
|
Constructor and Description |
---|
CustomDbTypeMapping(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.
|
Modifier and Type | Method and Description |
---|---|
static DbType |
DbType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbType[] |
DbType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
DbPlatformType |
DbPlatformTypeMapping.get(DbType dbType)
Return the type for a given jdbc type.
|
void |
DbPlatformTypeMapping.put(DbType type,
DbPlatformType platformType)
Override the type for a given JDBC type.
|
Copyright © 2019. All rights reserved.