Rails offen lost connection to oracle database

Posted by qichunren on Stack Overflow See other posts from Stack Overflow or by qichunren
Published on 2010-04-28T06:28:43Z Indexed on 2010/04/28 6:33 UTC
Read the original article Hit count: 422

Filed under:
|

I sometimes got this error from my log/production.log file:

#<ActiveRecord::StatementInvalid: OCIError: ORA-03114: not connected to ORACLE: select decode(table_name,upper(table_name),lower(table_name),table_name) name from all_tables where owner = sys_context('userenv','session_user')>,

How to solve this? How to rescue this and reconnect to oracle database?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about Oracle