Code example for BigInteger

Methods: longValue

0
    try{ 
	  	BigInteger decimal =(BigInteger)JdaTypeConvertFactory.convert(value,this.getPersisterType(),converterMap);
	  	if(decimal== null)
	  		ps.setNull(index,typeCode);
	  	else 
	  		ps.setLong(index,decimal.longValue());
    } catch (Throwable e) {
	 		throw new JdaException(null,e);
	  } 
  } 
}