Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jRuby.exe -S test_jdbc.rb
- #table is in other scheme than the connected scheme so, i have to use both the scheme and the tablename
- class Ondon < ActiveRecord::Base
- self.table_name = 'xxxxxxxx.xxxxx'
- self.sequence_name = 'xxxxxxxx.xxxxxxx'
- end
- dossier = Ondon.where(rnr13: rnr, dossier_nr: dosnr)
- p dossier
- SELECT "schemename"."tablename".* FROM "schemename"."tablename" WHERE "schemename"."tablename"."fieldname" = .. etc
- ORA-00942: table or view does not exist
- OS: Windows7
- jdbcdriver: ojdbc6.jar
- jRuby: 1.7.4
- activerecord: 4.1.1
- activerecord-jdbc-adapter: 1.3.11
- warbler:1.4.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement