I believe the object type you're looking for is "BigInteger."
http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html So you would have something like:
BigInteger bigI;
bigI = ...; //might require a cast
(Or am I misunderstanding your question?)
EDIT: I see I misunderstood. I didn't realize that rs was a ResultSet.
[ November 01, 2004: Message edited by: marc weber ]