public class SqlTypeManager
extends java.lang.Object
Constructor and Description |
---|
SqlTypeManager() |
Modifier and Type | Method and Description |
---|---|
static SqlTypeManager |
get()
Returns default implementation of the
SqlTypeManager . |
SqlType |
lookup(java.lang.Class clazz)
Retrieves SQL type for provided type.
|
SqlType |
lookupSqlType(java.lang.Class<? extends SqlType> sqlTypeClass)
Returns sql type instance.
|
void |
register(java.lang.Class type,
java.lang.Class<? extends SqlType> sqlTypeClass)
Registers sql type for provided type.
|
void |
registerDefaults()
Registers default set of SQL types.
|
void |
unregister(java.lang.Class type)
Unregisters some sql type.
|
void |
unregisterAll()
Unregisters all converters.
|
public static SqlTypeManager get()
SqlTypeManager
.public void unregisterAll()
public void registerDefaults()
public void register(java.lang.Class type, java.lang.Class<? extends SqlType> sqlTypeClass)
public void unregister(java.lang.Class type)
public SqlType lookup(java.lang.Class clazz)
Copyright © 2003-present Jodd Team