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
SQLException
public 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
SQLException
public List<String> getUnmappedColumnNames(ResultMap resultMap, String columnPrefix) throws SQLException
SQLException
Copyright © 2009–2021 MyBatis.org. All rights reserved.