Well, I think first
you should look up what a "bigint" means for your specific database type (because different languages can have their own definition of numerical value), and next you need to compare it to the
Java numeric types.
For example, in SQL Server 2000, from
int, bigint, smallint, and tinyint:
bigint
Integer (whole number) data from -2^63 (-9,223,372,036,854,775,808) through 2^63-1 (9,223,372,036,854,775,807). Storage size is 8 bytes.
And Java, from
Java's Primitive Data Types:
long
8 bytes signed (two's complement). Ranges from -9,223,372,036,854,775,808 to +9,223,372,036,854,775,807.
So, it seems for SQL Server 2000, the Java type you want is long.