Here you can find the source of getBigIntegerFromResultSet(ResultSet rs, String db_name)
public static BigInteger getBigIntegerFromResultSet(ResultSet rs, String db_name) throws SQLException
//package com.java2s; //License from project: GNU General Public License import java.math.BigInteger; import java.sql.ResultSet; import java.sql.SQLException; public class Main { public static BigInteger getBigIntegerFromResultSet(ResultSet rs, String db_name) throws SQLException { String n = rs.getString(db_name); return rs.wasNull() ? null : new BigInteger(n); }//from www.j a v a 2 s .co m }