public interface SQLTypeConverter
The Void class should be used to represent a null type.
| Modifier and Type | Method and Description |
|---|---|
static SQLTypeConverter |
getDefault()
Get the default
SQLTypeConverter. |
Optional<Class<?>> |
getJavaType(SQLContext context,
SQLType sqlType)
Get the Java type which corresponds to given SQL type.
|
Optional<SQLType> |
getSqlType(SQLContext context,
Class<?> javaType)
Get the SQL type which corresponds to given Java type.
|
Optional<Class<?>> getJavaType(SQLContext context, SQLType sqlType)
context - SQL contextsqlType - The sql type (not null)Optional<SQLType> getSqlType(SQLContext context, Class<?> javaType)
context - SQL contextjavaType - The sql type (not null)static SQLTypeConverter getDefault()
SQLTypeConverter.SQLTypeConverterCopyright © 2019 The Holon Platform. All rights reserved.