Re: how to map unsigned bigint in MySql to long value

2005-11-01 Thread Siming Weng
is signed, then either Long or long will work. I did get a weird result when I tried the Long/unsigned combination (as expected - there is a loss of precision in that case). I tried it with MySQL 5.0.15, and connector/j 3.1.11. HTH - Jeff Butler On 10/26/05, Siming Weng [EMAIL PROTECTED

Re: how to map unsigned bigint in MySql to long value

2005-10-26 Thread Siming Weng
. if you use a Map as a result, or if the property in your result class is of type Object) - then you could cast it yourself. This will mimic what you are doing in JDBC. Jeff Butler On 10/26/05, Siming Weng [EMAIL PROTECTED] wrote: Hi, I'm trying to map a table field of unsigned