public final class SqlMappingImpl extends Object implements SqlMapping
| Constructor and Description |
|---|
SqlMappingImpl() |
| Modifier and Type | Method and Description |
|---|---|
DataType |
getDataType(int typeSQL) |
int |
getSqlType(DataType dataType) |
Object |
getValueForCallableStatement(CallableStatement callableStatement,
int index,
DataType dataType) |
Object |
getValueForResultSet(ResultSet rs,
int col,
DataType dataType) |
void |
setValueOnStatement(PreparedStatement statement,
int index,
DataType dataType,
Object value) |
public DataType getDataType(int typeSQL)
getDataType in interface SqlMappingpublic int getSqlType(DataType dataType)
getSqlType in interface SqlMappingpublic void setValueOnStatement(PreparedStatement statement, int index, DataType dataType, Object value) throws SQLException
setValueOnStatement in interface SqlMappingSQLExceptionpublic Object getValueForCallableStatement(CallableStatement callableStatement, int index, DataType dataType) throws SQLException
getValueForCallableStatement in interface SqlMappingSQLExceptionpublic Object getValueForResultSet(ResultSet rs, int col, DataType dataType) throws SQLException
getValueForResultSet in interface SqlMappingSQLExceptionCopyright © 2015. All Rights Reserved.