| Constructor and Description |
|---|
DbTypeMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
config(boolean nativeUuidType,
ServerConfig.DbUuid dbUuid)
Map the UUID appropriately based on native DB support and ServerConfig.DbUuid.
|
DbType |
get(int jdbcType)
Return the type for a given jdbc type.
|
static DbTypeMap |
logicalTypes()
Return the DbTypeMap with standard (not platform specific) types.
|
DbType |
lookup(String name,
boolean withScale)
Lookup the platform specific DbType given the standard sql type name.
|
void |
put(int jdbcType,
DbType dbType)
Override the type for a given JDBC type.
|
public DbTypeMap()
public static DbTypeMap logicalTypes()
This has some extended JSON types (JSON, JSONB, JSONVarchar, JSONClob, JSONBlob). These types get translated to specific database platform types during DDL generation.
public DbType lookup(String name, boolean withScale)
public void config(boolean nativeUuidType, ServerConfig.DbUuid dbUuid)
Copyright © 2016. All rights reserved.