Class BigIntegerType

java.lang.Object
com.querydsl.sql.types.AbstractType<BigInteger>
com.querydsl.sql.types.BigIntegerType
All Implemented Interfaces:
Type<BigInteger>

public class BigIntegerType extends AbstractType<BigInteger>
BigIntegerType maps BigInteger to BigDecimal on the JDBC level
Author:
tiwe
  • Constructor Details

    • BigIntegerType

      public BigIntegerType()
    • BigIntegerType

      public BigIntegerType(int type)
  • Method Details

    • getValue

      public BigInteger getValue(ResultSet rs, int startIndex) throws SQLException
      Description copied from interface: Type
      Get the object from the result set
      Parameters:
      rs - result set
      startIndex - column index in result set
      Returns:
      value
      Throws:
      SQLException
    • getReturnedClass

      public Class<BigInteger> getReturnedClass()
      Description copied from interface: Type
      Get the returned type
      Returns:
      returned class
    • setValue

      public void setValue(PreparedStatement st, int startIndex, BigInteger value) throws SQLException
      Description copied from interface: Type
      Set the object to the statement
      Parameters:
      st - statement
      startIndex - column index in statement
      value - value to be set
      Throws:
      SQLException