public interface TypeHandler<T>
| Modifier and Type | Method and Description |
|---|---|
T |
getResult(CallableStatement cs,
int columnIndex) |
T |
getResult(ResultSet rs,
int columnIndex) |
T |
getResult(ResultSet rs,
String columnName)
Gets the result.
|
void |
setParameter(PreparedStatement ps,
int i,
T parameter,
JdbcType jdbcType) |
void setParameter(PreparedStatement ps, int i, T parameter, JdbcType jdbcType) throws SQLException
SQLExceptionT getResult(ResultSet rs, String columnName) throws SQLException
rs - the rscolumnName - Colunm name, when configuration useColumnLabel is falseSQLException - the SQL exceptionT getResult(ResultSet rs, int columnIndex) throws SQLException
SQLExceptionT getResult(CallableStatement cs, int columnIndex) throws SQLException
SQLExceptionCopyright © 2009–2021 MyBatis.org. All rights reserved.