I was encountering the following error when accessing my Downtime model:

OCIError: ORA-00942: table or view does not exist: SELECT * 
FROM "DBA_TAB_COLS" WHERE ("TABLE_NAME" = 'DOWNTIMES')
This is the result of my user not having permission to access DBA_TAB_COLS. 
  DBA_TAB_COLS is a system-level table and users should use USER_TAB_COLS 
instead.

Making this quick change fixed it.

file: lib/sequel/adapters/oracle.rb
line: 246
  # Default values
  defaults = begin
  metadata_dataset.from(:user_tab_cols).


I apologize in advance for the improper submission of this fix. :)

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/LC4onqh2NB0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to