Displaying 1 result from an estimated 1 matches for "d_lfdnr".
2011 May 07
4
Activerecord::JDBCError: Invalid column number
...th webrick gives no error-message, so I think,
that the JDBC-drivers are loaded correctly.
Now I made a model mandate_file.rb which contains
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:
ActiveR...