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

Don't know if it helps, but we actually are running AR-JDBC w/ Derby
against AR's test suite (if you can call it running -- 824/1027
failing!).  Maybe you can have a look at some of the failures and see
if it stirs up any ideas on how to fix the problem.

http://jruby.thresher.com/browse/ACTIVERECORD-DERBYTRUNK

/Nick
_______________________________________________
Jruby-extras-devel mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to