Hi, Ben,
Ben K. schrieb:
> I tried int8(id) but java didn't take it as Integer. (It took int8 as
> something like Long.)
Yes, and that's good, as PostgreSQL int8 and java long actually are the
same datatype (64-bit signed two's-complement).
PostgreSQL int4 and Java int are the same (32-bit), as well as int2 and
short.
HTH,
Markus