Class ResultSetWrapper
java.lang.Object
org.apache.ibatis.executor.resultset.ResultSetWrapper
- Author:
- Iwao AVE!
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetJdbcType
(String columnName) getMappedColumnNames
(ResultMap resultMap, String columnPrefix) TypeHandler
<?> getTypeHandler
(Class<?> propertyType, String columnName) Gets the type handler to use when reading the result set.getUnmappedColumnNames
(ResultMap resultMap, String columnPrefix)
-
Constructor Details
-
ResultSetWrapper
- Throws:
SQLException
-
-
Method Details
-
getResultSet
-
getColumnNames
-
getClassNames
-
getJdbcTypes
-
getJdbcType
-
getTypeHandler
Gets the type handler to use when reading the result set. Tries to get from the TypeHandlerRegistry by searching for the property type. If not found it gets the column JDBC type and tries to get a handler for it.- Parameters:
propertyType
- the property typecolumnName
- the column name- Returns:
- the type handler
-
getMappedColumnNames
public List<String> getMappedColumnNames(ResultMap resultMap, String columnPrefix) throws SQLException - Throws:
SQLException
-
getUnmappedColumnNames
public List<String> getUnmappedColumnNames(ResultMap resultMap, String columnPrefix) throws SQLException - Throws:
SQLException
-