diff --git a/lib/sequel/adapters/oracle.rb b/lib/sequel/adapters/oracle.rb index 9f1c2a4447..e6c5548462 100644 --- a/lib/sequel/adapters/oracle.rb +++ b/lib/sequel/adapters/oracle.rb @@ -14,7 +14,8 @@ class Database < Sequel::Database # ORA-02396: exceeded maximum idle time, please connect again # ORA-03113: end-of-file on communication channel # ORA-03114: not connected to ORACLE - CONNECTION_ERROR_CODES = [ 28, 1012, 2396, 3113, 3114 ].freeze + # ORA-03135: connection lost contact + CONNECTION_ERROR_CODES = [ 28, 1012, 2396, 3113, 3114, 3135 ].freeze ORACLE_TYPES = { :blob=>lambda{|b| Sequel::SQL::Blob.new(b.read)},