public class ResultSetWrapper extends Object
| Constructor and Description |
|---|
ResultSetWrapper(ResultSet rs,
Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getClassNames() |
List<String> |
getColumnNames() |
JdbcType |
getJdbcType(String columnName) |
List<JdbcType> |
getJdbcTypes() |
List<String> |
getMappedColumnNames(ResultMap resultMap,
String columnPrefix) |
ResultSet |
getResultSet() |
TypeHandler<?> |
getTypeHandler(Class<?> propertyType,
String columnName)
Gets the type handler to use when reading the result set.
|
List<String> |
getUnmappedColumnNames(ResultMap resultMap,
String columnPrefix) |
public ResultSetWrapper(ResultSet rs, Configuration configuration) throws SQLException
SQLExceptionpublic ResultSet getResultSet()
public TypeHandler<?> getTypeHandler(Class<?> propertyType, String columnName)
propertyType - the property typecolumnName - the column namepublic List<String> getMappedColumnNames(ResultMap resultMap, String columnPrefix) throws SQLException
SQLExceptionpublic List<String> getUnmappedColumnNames(ResultMap resultMap, String columnPrefix) throws SQLException
SQLExceptionCopyright © 2009–2021 MyBatis.org. All rights reserved.