Class ResultSetWrapper

java.lang.Object
org.apache.ibatis.executor.resultset.ResultSetWrapper

public class ResultSetWrapper extends Object
Author:
Iwao AVE!
  • Constructor Details Link icon

  • Method Details Link icon

    • getResultSet Link icon

      public ResultSet getResultSet()
    • getColumnNames Link icon

      public List<String> getColumnNames()
    • getClassNames Link icon

      public List<String> getClassNames()
    • getJdbcTypes Link icon

      public List<JdbcType> getJdbcTypes()
    • getJdbcType Link icon

      public JdbcType getJdbcType(String columnName)
    • getTypeHandler Link icon

      public TypeHandler<?> getTypeHandler(Class<?> propertyType, String columnName)
      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 type
      columnName - the column name
      Returns:
      the type handler
    • getMappedColumnNames Link icon

      public Set<String> getMappedColumnNames(ResultMap resultMap, String columnPrefix) throws SQLException
      Throws:
      SQLException
    • getUnmappedColumnNames Link icon

      public List<String> getUnmappedColumnNames(ResultMap resultMap, String columnPrefix) throws SQLException
      Throws:
      SQLException