On Dec 15, 11:58 am, Jeremy Evans <[email protected]> wrote:
> On Dec 15, 9:26 am, Wei <[email protected]> wrote:
>
> > This works!
> > after I convert Date to Java::JavaSql::Date, no more exception.
> > here is what I did to the switch/case 'Date' code ( jdbc.rb line 392)
> >  when Date
> >     arg_to_java_date = Java::JavaSql::Date.new arg.year, arg.month,
> > arg.day
> >     cps.setDate(i, arg_to_java_date)
>
> > Should this fix be added to Sequel?
>
> Probably.  I'll see if I can add an integration test for it and then
> commit that fix.

Took quite a bit of work, but there's now a lot better support for
different types in prepared statements, especially for JDBC and
SQLite: https://github.com/jeremyevans/sequel/compare/a1cca0bb97...f48be32be9

Jeremy

-- 
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