[ANN] AR-JDBC 1.3.0 released!

Greetings JRuby-ist!

The final frontier of AR-JDBC 1.3.0 is (finally) here …

The release was originally planned for http://2013.jrubyconf.eu but got
delayed
once again (blame @j2h :). I’d like to take the opportunity to once
again
thank
the JRubyConf people for organizing this excellent event and the JRuby
team
for
giving me a free ticket to attend.

There’s some more in the final than a release after RC deserves, but
hopefully
it’s all for the best, namely two important code updates to note :

  • exec_query('SELECT * FROM users WHERE name = ?', 'SQL', [ [ nil, 'kares' ] ])
    would work with AR-JDBC 1.2.x and it still does (only on ActiveRecord
    <=
    3.2)
    but is something inherently wrong since it can not be 100% correct
    (without
    doing some query analysis) thus we’re deprecating it - if you’re
    upgrading to
    Rails 4.0 (as well) you will need to rewrite code relying on that
    behavior
    since it was hard to support due AR’s internals

  • Java API received yet another small (binary compatible) refactoring
    session due
    Oracle’s driver hitting the DB on every getMetaData call, which we
    kind
    of
    called on every SELECT query (just to call a dummy method on it that
    returns
    a fixed boolean value) - this notably improves Oracle’s exec_query and
    related
    performance, details at connection.getMetaData() called every time on executing a SELECT query on Oracle · Issue #453 · jruby/activerecord-jdbc-adapter · GitHub (thank you people of
    ThoughtWorks)
    p.s. This seems Oracle exquisite - other drivers I have checked are
    fine.

Full-Log:

Neat release managers would likely shoot another RC but I got tired of
pre-releases,
sorry about that … and do not follow my example unless you’re ready
for
it :slight_smile:

As a reminder this release aims to support Rails 2.3 / 3.x /
4.0 and
is a very recommended update for all AR-JDBC 1.2.x users out there
riding
JRuby.

If you’re planning on migrating from 1.2.x please consult :

(+ feel free to edit the wiki in case you find something that might help
others)

Thanks to all who contributed/supported/tested with us while making this
release!

p.s. Once again, on behalf of keeping AR-JDBC up-to-date with Rails, I
would
like to humbly ask you to step up to the keyboards and keep it fixin’
anytime
you hit an issue (want a feature) with the all new and shiny 1.3
releases

<3<3<3 The AR-JDBC Team

Thanks Karol and team for your tireless efforts!
Vipul A.M.
+91-8149-204995

Thanks for the hard work!

2013/8/29 Vipul A. [email protected]