Nick Sieger wrote: > On 4/14/07, Jon Tirsen <[EMAIL PROTECTED]> wrote: > >> Having been stumped by my good ole trust-worthy HSQLDB I moved on to >> this new Derby thing everyone's raving about. Could it prove more >> helpful? >> >> Alas, no: >> >> $ rake db:migrate --trace >> [..snip..] >> no implicit conversion from nil to integer >> /Users/tirsen/Studios/ice/config/../vendor/rails/activerecord/lib/ >> active_record/migration.rb:308:in `select_one' >> /Users/tirsen/Studios/ice/config/../vendor/rails/activerecord/lib/ >> active_record/migration.rb:308:in `current_version' >> /Users/tirsen/Studios/ice/config/../vendor/rails/activerecord/lib/ >> active_record/migration.rb:326:in `current_version' >> /Users/tirsen/Studios/ice/config/../vendor/rails/activerecord/lib/ >> active_record/migration.rb:390:in `irrelevant_migration?' >> [..snip..] >> >> It seems selecting the statement "select version from schema_info" >> blows up in a particularly unfriendly way even if I can indeed do the >> same query in for example SQuirreL. >> >> Anyone have more experience with Derby and have managed to get it to >> work? >> > > Not much experience, unfortunately no. Outside of MySQL, most > databases need more love in AR-JDBC. This will be an area of focus > this summer after JRuby goes 1.0 (or before then if someone is > enterprising :). > > Could you try again? I just gave Derby some very manly love. Or ... eh, fixed most of the test cases for it (except for a date one, that I'm pretty sure is a bad test anyway).
Cheers -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined. _______________________________________________ Jruby-extras-devel mailing list [EMAIL PROTECTED] http://rubyforge.org/mailman/listinfo/jruby-extras-devel
