Displaying 2 results from an estimated 2 matches for "rubyjdbcconnection".
2013 Feb 01
0
rake db:migrate failing against oracle
...-
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 original slite3 that rails...
2011 May 07
4
Activerecord::JDBCError: Invalid column number
...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''
from
c:/j...