public class CustomResultSetHandler extends Object implements org.apache.ibatis.executor.resultset.ResultSetHandler
创建时间:2018/12/14
| 构造器和说明 |
|---|
CustomResultSetHandler(org.apache.ibatis.executor.Executor executor,
org.apache.ibatis.mapping.MappedStatement mappedStatement,
org.apache.ibatis.executor.parameter.ParameterHandler parameterHandler,
org.apache.ibatis.session.ResultHandler<?> resultHandler,
org.apache.ibatis.mapping.BoundSql boundSql,
org.apache.ibatis.session.RowBounds rowBounds) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
checkResultHandler() |
<E> org.apache.ibatis.cursor.Cursor<E> |
handleCursorResultSets(Statement stmt) |
void |
handleOutputParameters(CallableStatement cs) |
List<Object> |
handleResultSets(Statement stmt) |
void |
handleRowValues(org.apache.ibatis.executor.resultset.ResultSetWrapper rsw,
org.apache.ibatis.mapping.ResultMap resultMap,
org.apache.ibatis.session.ResultHandler<?> resultHandler,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.mapping.ResultMapping parentMapping) |
org.apache.ibatis.mapping.ResultMap |
resolveDiscriminatedResultMap(ResultSet rs,
org.apache.ibatis.mapping.ResultMap resultMap,
String columnPrefix)
省略
|
public CustomResultSetHandler(org.apache.ibatis.executor.Executor executor,
org.apache.ibatis.mapping.MappedStatement mappedStatement,
org.apache.ibatis.executor.parameter.ParameterHandler parameterHandler,
org.apache.ibatis.session.ResultHandler<?> resultHandler,
org.apache.ibatis.mapping.BoundSql boundSql,
org.apache.ibatis.session.RowBounds rowBounds)
public void handleOutputParameters(CallableStatement cs) throws SQLException
handleOutputParameters 在接口中 org.apache.ibatis.executor.resultset.ResultSetHandlerSQLExceptionpublic List<Object> handleResultSets(Statement stmt) throws SQLException
handleResultSets 在接口中 org.apache.ibatis.executor.resultset.ResultSetHandlerSQLExceptionpublic <E> org.apache.ibatis.cursor.Cursor<E> handleCursorResultSets(Statement stmt) throws SQLException
handleCursorResultSets 在接口中 org.apache.ibatis.executor.resultset.ResultSetHandlerSQLExceptionpublic void handleRowValues(org.apache.ibatis.executor.resultset.ResultSetWrapper rsw,
org.apache.ibatis.mapping.ResultMap resultMap,
org.apache.ibatis.session.ResultHandler<?> resultHandler,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.mapping.ResultMapping parentMapping)
throws SQLException
SQLExceptionprotected void checkResultHandler()
public org.apache.ibatis.mapping.ResultMap resolveDiscriminatedResultMap(ResultSet rs, org.apache.ibatis.mapping.ResultMap resultMap, String columnPrefix) throws SQLException
SQLExceptionCopyright © 2022. All rights reserved.