On Apr 25, 11:28 am, mwlang88 <[email protected]> wrote:
> When using jruby and connecting to mysql via JDBC, an insert statement
> generates the following:
>
> http://pastie.org/934319
>
> basically, a Statement.RETURN_GENERATED_KEYS
>
> I tried to patch Sequel to fix this, but I'm not really confident my
> "fix" is the proper way.  Here's the patch on the adaptors/jdbc.rb
> file:

This change is already in the master branch:
http://github.com/jeremyevans/sequel/commit/919e26ad9be8b535b5d287cfd74cefaa21024760.

As you can see from the commit, it's only enabled for MySQL/JDBC.  You
can't enable it unilaterally, otherwise it breaks PostgreSQL and
SQLite.

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