Displaying 7 results from an estimated 7 matches for "arjdbc".
Did you mean:
rjdbc
2010 Oct 30
12
Anyone successfully ran JRuby 1.5.3, Rails 3, Tomcat6
Hi,
I''ve been trying to get JRuby 1.5.3 with Rails 3 to run on the Tomcat6
server with little success.
Has anyone been able to do this? If so, what issues did you have to
overcome to get this to work?
Also, is this a combination that you would recommend for a production
site, or is it all too new and untested?
The latest issue I''m stuck on right now is with the mysql-connector-
2010 Oct 28
2
ActiveRecord JDBC error Generated keys not requested
...o Statement.executeUpdate()
or Connection.prepareStatement().: SET SQL_AUTO_IS_NULL=0
/jruby-1.5.3/lib/ruby/gems/1.8/gems/activerecord-3.0.1/lib/
active_record/connection_adapters/abstract_adapter.rb:202:in `log''
/jruby-1.5.3/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-1.0.2-
java/lib/arjdbc/jdbc/adapter.rb:178:in `execute''
/jruby-1.5.3/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-1.0.2-
java/lib/arjdbc/mysql/adapter.rb:14:in `configure_connection''
/jruby-1.5.3/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-1.0.2-
java/lib/arjdbc/mysql/adapter.rb:385:in `initial...
2013 Feb 14
4
Struggling with Jruby Rails + jdbc driver
...ct.rb:26:in
`java_import''
from org/jruby/RubyArray.java:2361:in `map''
from
file:/Users/josephli/.rvm/rubies/jruby-1.7.2/lib/jruby.jar!/jruby/java/core_ext/object.rb:22:in
`java_import''
from
/Users/josephli/.rvm/gems/jruby-1.7.2/gems/activerecord-jdbc-adapter-1.2.7/lib/arjdbc/jdbc/driver.rb:24:in
`driver_class''
from org/jruby/RubyModule.java:2291:in `module_eval''
from
/Users/josephli/.rvm/gems/jruby-1.7.2/gems/activerecord-jdbc-adapter-1.2.7/lib/arjdbc/jdbc/driver.rb:23:in
`driver_class''
from org/jruby/javasupport/JavaObject.java:272:in `sy...
2011 Jun 09
1
Rails 3.1 RC4 has broken migrations
...gt; 0 rows
== CreateUsers: migrated (0.0960s)
===========================================
rake aborted!
An error has occurred, this and all later migrations canceled:
wrong number of arguments (3 for 2)
/Users/hipertracker/.rvm/gems/jruby-1.6.2@rails-pre/gems/activerecord-
jdbc-adapter-1.1.1/lib/arjdbc/jdbc/adapter.rb:275:in `select''
/Users/hipertracker/.rvm/gems/jruby-1.6.2@rails-pre/gems/
activerecord-3.1.0.rc4/lib/active_record/connection_adapters/abstract/
database_statements.rb:9:in `select_all''
/Users/hipertracker/.rvm/gems/jruby-1.6.2@rails-pre/gems/
activerecord-3.1.0.rc...
2013 Feb 01
0
rake db:migrate failing against oracle
...en I run:
---
C:\temp\brownbag\my_workout>rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:migrate
rake aborted!
Table schema_migrations does not exist
arjdbc/jdbc/RubyJdbcConnection.java:126:in `columns''
c:/temp/brownbag/gem_home/gems/activerecord-jdbc-adapter-1.2.5/lib/arjdbc/oracle/adapter.rb:358:in
`ora_columns''
c:/temp/brownbag/gem_home/gems/activerecord-3.2.11/lib/active_record ...
----
If I switch my database.yml file to the ori...
2011 May 07
4
Activerecord::JDBCError: Invalid column number
..._attribute :id, :D_LFDNR
alias_attribute :annotext_az, :D_AZ
alias_attribute :name_creditor, :D_RUBGE
end
When I try to create a simple object via the console using "m =
MandateFile.new" I get the following list of errors:
ActiveRecord::JDBCError: Invalid column number
from arjdbc/jdbc/RubyJdbcConnection.java:121:in `columns''
from
c:/jruby/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-1.1.1/lib/arjdbc/jdbc/adapter.rb:229:in
`jdbc_columns''
from
c:/jruby/lib/ruby/gems/1.8/gems/activerecord-3.0.7/lib/active_record/base.rb:680:in
`columns'...
2011 May 11
2
Issue with Arel::SelectManager and insert Method
Hello,
Arel::SelectManager (arel 2.0.9) uses following statement to insert a
new record:
@engine.connection.insert im.to_sql, ''AREL'', primary_key_name,
primary_key_value
But in DatabaseStatements insert ist defined as:
insert(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil)
Actually, Arel::SelectManager does not use the sequence name. This
leads to issues