public class RDBDataConverter extends Object
| Modifier and Type | Field and Description |
|---|---|
static RDBDataConverter |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromJDBCDataType(ResultSet rs,
int columnIndex,
int sourceType,
PlasmaProperty targetProperty) |
String |
getJdbcTypeName(int jdbcType) |
DataFlavor |
toJDBCDataFlavor(PlasmaProperty sourceProperty) |
int |
toJDBCDataType(PlasmaProperty sourceProperty,
Object value) |
Object |
toJDBCDataValue(PlasmaProperty sourceProperty,
Object value) |
String |
toJDBCString(Type sourceType,
PlasmaProperty sourceProperty,
Object value) |
public static RDBDataConverter INSTANCE
public DataFlavor toJDBCDataFlavor(PlasmaProperty sourceProperty)
public Object fromJDBCDataType(ResultSet rs, int columnIndex, int sourceType, PlasmaProperty targetProperty) throws SQLException
SQLExceptionpublic int toJDBCDataType(PlasmaProperty sourceProperty, Object value) throws SQLException
SQLExceptionpublic Object toJDBCDataValue(PlasmaProperty sourceProperty, Object value) throws SQLException
SQLExceptionpublic String toJDBCString(Type sourceType, PlasmaProperty sourceProperty, Object value)
public String getJdbcTypeName(int jdbcType)
Copyright © 2018. All rights reserved.