Class ResultSetWrapper


  • public class ResultSetWrapper
    extends Object
    Author:
    Iwao AVE!
    • Method Detail

      • getResultSet

        public ResultSet getResultSet()
      • getColumnNames

        public List<String> getColumnNames()
      • getClassNames

        public List<String> getClassNames()
      • getTypeHandler

        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