Class BigIntegerTypeHandler

  • All Implemented Interfaces:
    TypeHandler<java.math.BigInteger>

    public class BigIntegerTypeHandler
    extends BaseTypeHandler<java.math.BigInteger>
    Author:
    Paul Krause
    • Constructor Detail

      • BigIntegerTypeHandler

        public BigIntegerTypeHandler()
    • Method Detail

      • setNonNullParameter

        public void setNonNullParameter​(java.sql.PreparedStatement ps,
                                        int i,
                                        java.math.BigInteger parameter,
                                        JdbcType jdbcType)
                                 throws java.sql.SQLException
        Specified by:
        setNonNullParameter in class BaseTypeHandler<java.math.BigInteger>
        Throws:
        java.sql.SQLException
      • getNullableResult

        public java.math.BigInteger getNullableResult​(java.sql.ResultSet rs,
                                                      java.lang.String columnName)
                                               throws java.sql.SQLException
        Specified by:
        getNullableResult in class BaseTypeHandler<java.math.BigInteger>
        columnName - Colunm name, when configuration useColumnLabel is false
        Throws:
        java.sql.SQLException
      • getNullableResult

        public java.math.BigInteger getNullableResult​(java.sql.ResultSet rs,
                                                      int columnIndex)
                                               throws java.sql.SQLException
        Specified by:
        getNullableResult in class BaseTypeHandler<java.math.BigInteger>
        Throws:
        java.sql.SQLException
      • getNullableResult

        public java.math.BigInteger getNullableResult​(java.sql.CallableStatement cs,
                                                      int columnIndex)
                                               throws java.sql.SQLException
        Specified by:
        getNullableResult in class BaseTypeHandler<java.math.BigInteger>
        Throws:
        java.sql.SQLException