Class ByteArrayRefTypeHandler

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

    public class ByteArrayRefTypeHandler
    extends org.apache.ibatis.type.TypeReference<ByteArrayRef>
    implements org.apache.ibatis.type.TypeHandler<ByteArrayRef>
    MyBatis TypeHandler for ByteArrayRef.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ByteArrayRef getResult​(java.sql.CallableStatement cs, int columnIndex)  
      ByteArrayRef getResult​(java.sql.ResultSet rs, int columnIndex)  
      ByteArrayRef getResult​(java.sql.ResultSet rs, java.lang.String columnName)  
      void setParameter​(java.sql.PreparedStatement ps, int i, ByteArrayRef parameter, org.apache.ibatis.type.JdbcType jdbcType)  
      • Methods inherited from class org.apache.ibatis.type.TypeReference

        getRawType, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ByteArrayRefTypeHandler

        public ByteArrayRefTypeHandler()
    • Method Detail

      • setParameter

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

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

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

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