Forum: JRuby [ANN] AR-JDBC 1.3.0 released!

Caa2df9372ffa0a9e95b2bab1e8fea34?d=identicon&s=25 Karol Bucek (Guest)
on 2013-08-29 16:17
(Received via mailing list)
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 http://git.io/KWzMkQ (thank you people of
ThoughtWorks)
  p.s. This seems Oracle exquisite - other drivers I have checked are
fine.

Full-Log:
https://github.com/jruby/activerecord-jdbc-adapter...

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

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 :
http://git.io/NYCR3Q
(+ 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
F459742822cf8347e83d5c445378a934?d=identicon&s=25 Vipul Amler (Guest)
on 2013-08-29 16:27
(Received via mailing list)
Thanks Karol and team for your tireless efforts!
Vipul A.M.
+91-8149-204995
B229684354e3c0c5a78813472721d4fe?d=identicon&s=25 Krum Bakalsky (Guest)
on 2013-08-30 08:47
(Received via mailing list)
Thanks for the hard work!


2013/8/29 Vipul Amler <vipulnsward@gmail.com>
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.