Interface TypeHandler<T>

    • Method Summary

      Modifier and Type Method Description
      T getResult​(java.sql.CallableStatement cs, int columnIndex)  
      T getResult​(java.sql.ResultSet rs, int columnIndex)  
      T getResult​(java.sql.ResultSet rs, java.lang.String columnName)  
      void setParameter​(java.sql.PreparedStatement ps, int i, T parameter, JdbcType jdbcType)  
    • Method Detail

      • setParameter

        void setParameter​(java.sql.PreparedStatement ps,
                          int i,
                          T parameter,
                          JdbcType jdbcType)
                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getResult

        T getResult​(java.sql.ResultSet rs,
                    java.lang.String columnName)
             throws java.sql.SQLException
        Parameters:
        columnName - Colunm name, when configuration useColumnLabel is false
        Throws:
        java.sql.SQLException
      • getResult

        T getResult​(java.sql.ResultSet rs,
                    int columnIndex)
             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getResult

        T getResult​(java.sql.CallableStatement cs,
                    int columnIndex)
             throws java.sql.SQLException
        Throws:
        java.sql.SQLException