ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siming Weng <siming.w...@gmail.com>
Subject how to map unsigned bigint in MySql to long value
Date Wed, 26 Oct 2005 14:57:49 GMT

I'm trying to map a table field of unsigned bigint to long value in
java. But it always give wrong numbers looks like being overflow. Pure
JDBC code can return the correct value.

JDBC documenation says RecordSet.getObject(int columnIndex) will
return a java.math.BigInteger if the field is unsigned bigint. But it
seems iBatis doesn't support BigInteger.

did anyone experience the same problem?



View raw message