E - to regist java typepublic interface JavaSqlTypeMapper<E extends java.io.Serializable>
SqlTypeToJavaRegister
.| 限定符和类型 | 方法和说明 |
|---|---|
E |
get(java.sql.ResultSet rs,
int columnIndex)
Gets the.
|
java.lang.Class<E> |
getJavaType(java.sql.SQLType sqlType)
Gets the sql type.
|
java.sql.SQLType |
getSqlType(cn.featherfly.common.lang.GenericType<E> javaType)
Gets the sql type.
|
void |
set(java.sql.PreparedStatement prep,
int columnIndex,
E value)
Sets the value.
|
boolean |
support(cn.featherfly.common.lang.GenericType<E> type) |
boolean |
support(java.sql.SQLType sqlType) |
boolean support(java.sql.SQLType sqlType)
boolean support(cn.featherfly.common.lang.GenericType<E> type)
java.lang.Class<E> getJavaType(java.sql.SQLType sqlType)
sqlType - the sql typejava.sql.SQLType getSqlType(cn.featherfly.common.lang.GenericType<E> javaType)
javaType - the java typevoid set(java.sql.PreparedStatement prep,
int columnIndex,
E value)
prep - the prepcolumnIndex - the column indexvalue - the valueE get(java.sql.ResultSet rs, int columnIndex)
rs - the rscolumnIndex - the column index