activerecord-jdbc 0.7 execption in jdbc_adapter.rb
--------------------------------------------------
Key: JRUBY-1747
URL: http://jira.codehaus.org/browse/JRUBY-1747
Project: JRuby
Issue Type: Bug
Components: ActiveRecord-JDBC
Environment: windows, java 1.6, jruby trunk, activerecord-jdbc 0.7,
rails 2.02
Reporter: Alex Durgin
Priority: Blocker
I've been using a version of jruby trunk from November and activerecord-jdbc
0.6. I decided to update to today's trunk and update my activerecord-jdbc gem
to 0.7. I use the plain jdbc configuration and I now get the following
exception in jdbc_adapter.rb:
The driver encountered an error: java.lang.ArrayIndexOutOfBoundsException: -1
And the stack trace:
JRuby/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.7/lib/active_record/connection_adapters/jdbc_adapter.rb:298:in
`initialize'
JRuby/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.7/lib/active_record/connection_adapters/jdbc_adapter.rb:41:in
`new'
JRuby/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.7/lib/active_record/connection_adapters/jdbc_adapter.rb:41:in
`jdbc_connection'
JRuby/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.7/lib/jdbc_adapter/jdbc_mysql.rb:12:in
`mysql_connection'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email