Class IbatisVariableTypeHandler

  • All Implemented Interfaces:
    org.apache.ibatis.type.TypeHandler<VariableType>

    public class IbatisVariableTypeHandler
    extends java.lang.Object
    implements org.apache.ibatis.type.TypeHandler<VariableType>
    • Constructor Detail

      • IbatisVariableTypeHandler

        public IbatisVariableTypeHandler()
    • Method Detail

      • getResult

        public VariableType getResult​(java.sql.ResultSet rs,
                                      java.lang.String columnName)
                               throws java.sql.SQLException
        Specified by:
        getResult in interface org.apache.ibatis.type.TypeHandler<VariableType>
        Throws:
        java.sql.SQLException
      • getResult

        public VariableType getResult​(java.sql.CallableStatement cs,
                                      int columnIndex)
                               throws java.sql.SQLException
        Specified by:
        getResult in interface org.apache.ibatis.type.TypeHandler<VariableType>
        Throws:
        java.sql.SQLException
      • setParameter

        public void setParameter​(java.sql.PreparedStatement ps,
                                 int i,
                                 VariableType parameter,
                                 org.apache.ibatis.type.JdbcType jdbcType)
                          throws java.sql.SQLException
        Specified by:
        setParameter in interface org.apache.ibatis.type.TypeHandler<VariableType>
        Throws:
        java.sql.SQLException
      • getResult

        public VariableType getResult​(java.sql.ResultSet resultSet,
                                      int columnIndex)
                               throws java.sql.SQLException
        Specified by:
        getResult in interface org.apache.ibatis.type.TypeHandler<VariableType>
        Throws:
        java.sql.SQLException