Assuming you are using MySQL...

Connector/J documentation states that you should use
ResultSet.getObject(), and then cast to java.math.BigInteger.

So in iBATIS, you should set your bean property type to Object, and
then cast it to BigInteger after the result is returned from iBATIS.
Or, you could create a type handler that would do this within the
iBATIS processing.

Jeff Butler


On Fri, Jan 16, 2009 at 2:52 AM, Ingmar Lötzsch
<[email protected]> wrote:
>> Anyone run into mapping an unsigned BIGINT? I don't see how its possible
>> in Java?
>
> Why can't you use Long or long?
>

Reply via email to