On Dec 14, 12:19 pm, Wei <[email protected]> wrote:
> I am working with sequel-3.18.0
> While trying to execute a prepared statement, I got an error 'no
> setDate with arguments matching [class org.jruby.RubyFixnum, class
> org.jruby.RubyObject] on object #<#<Class:01x404fe94c>:0x2b49a2c8>'
>
>  This exception is from  set_ps_arg in lib\sequel\adapter\jdbc.rb:384.
>  I checked the arg value passed in, and it is of type Date in Jruby.
> I
>  could not understand why cps.setDate method will not able to
> recognize
>  it and treat it as a jruby RubyObject.
>
> Please advice

Like I told you by email, you need to include your code and the full
backtrace.  However, since JRuby is showing the object as a #<#<Class:
01x404fe94c>:0x2b49a2c8>, I don't think it's going to do much good.
That's an instance of an anonymous class.  Are you sure you are
passing in a ruby Date object?

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