Created
January 11, 2012 22:19
-
-
Save leucos/1597118 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning: NLS_LANG is not set. fallback to US7ASCII. | |
I, [2012-01-11T23:16:55.422561 #19184] INFO -- : (0.110660s) SELECT "COLS"."COLUMN_NAME" FROM "ALL_CONSTRAINTS" "CONS", "ALL_CONS_COLUMNS" "COLS" WHERE (("COLS"."TABLE_NAME" = 'UTILISATEURS') AND ("CONS"."CONSTRAINT_TYPE" = 'P') AND ("CONS"."CONSTRAINT_NAME" = "COLS"."CONSTRAINT_NAME") AND ("CONS"."OWNER" = "COLS"."OWNER")) | |
OMG this is gonna fail !! | |
E, [2012-01-11T23:16:55.572218 #19184] ERROR -- : OCIError: ORA-00942: table or view does not exist: SELECT * FROM "DBA_TAB_COLS" WHERE ("TABLE_NAME" = 'UTILISATEURS') | |
In rescue | |
E, [2012-01-11T23:16:55.688581 #19184] ERROR -- : OCIError: ORA-04043: object SOMEWHERE.UTILISATEURS does not exist: Connection.describe_table | |
metadata.c:151:in oci8lib_191.so: OCIError: ORA-04043: object SOMEWHERE.UTILISATEURS does not exist (Sequel::DatabaseError) | |
from /home/leucos/.rvm/gems/ruby-1.9.3-p0@testsequel/gems/ruby-oci8-2.1.0/lib/oci8/metadata.rb:2085:in `describe_table' | |
from /home/leucos/.rvm/gems/ruby-1.9.3-p0@testsequel/gems/ruby-oci8-2.1.0/lib/oci8/metadata.rb:2090:in `describe_table' | |
from /home/leucos/.rvm/gems/ruby-1.9.3-p0@testsequel/gems/sequel-3.31.0/lib/sequel/adapters/oracle.rb:251:in `block (2 levels) in schema_parse_table' | |
from /home/leucos/.rvm/gems/ruby-1.9.3-p0@testsequel/gems/sequel-3.31.0/lib/sequel/database/logging.rb:32:in `log_yield' | |
from /home/leucos/.rvm/gems/ruby-1.9.3-p0@testsequel/gems/sequel-3.31.0/lib/sequel/adapters/oracle.rb:251:in `block in schema_parse_table' | |
from /home/leucos/.rvm/gems/ruby-1.9.3-p0@testsequel/gems/sequel-3.31.0/lib/sequel/connection_pool/threaded.rb:84:in `hold' | |
from /home/leucos/.rvm/gems/ruby-1.9.3-p0@testsequel/gems/sequel-3.31.0/lib/sequel/database/connecting.rb:225:in `synchronize' | |
from /home/leucos/.rvm/gems/ruby-1.9.3-p0@testsequel/gems/sequel-3.31.0/lib/sequel/adapters/oracle.rb:249:in `schema_parse_table' | |
from /home/leucos/.rvm/gems/ruby-1.9.3-p0@testsequel/gems/sequel-3.31.0/lib/sequel/database/query.rb:177:in `schema' | |
from test.rb:11:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment