Using Bignum type in a h2 db, create_table correctly sets up BIGINT(19)
Trying to store 64 bit value, fails if value greater than max integer.

If I change (in jdbc.rb approx line# 330)
when Integer
   cps.setLong(i,arg)
....
It works for both integer columns and bigint columns both saving and 
retrieving records, during my limited testing.
This is with the h2 db only, I cannot comment on other jdbc db's.

Is there another way of storing 64 bit values or do we need to  find a 
way for sequel to handle java.long?

Regards
Paul F Fraser

--

You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.


Reply via email to