Displaying 1 result from an estimated 1 matches for "name_creditor".
2011 May 07
4
Activerecord::JDBCError: Invalid column number
...class MandateFile < ActiveRecord::Base
# fix non-standard table and primary key name conventions
set_table_name "STAMM"
set_primary_key :D_LFDNR
# fix the upper-cased named columns
alias_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/ge...