Skip to content

Commit

Permalink
Fix Oracle error codes (#3498)
Browse files Browse the repository at this point in the history
  • Loading branch information
abskmj authored and kibertoad committed Oct 28, 2019
1 parent f4b6848 commit 1f4d8f2
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions lib/dialects/oracle/utils.js
Expand Up @@ -47,21 +47,21 @@ function isConnectionError(err) {
'ORA-03113', // end-of-file on communication channel
'ORA-03135', // connection lost contact
'ORA-12514', // listener does not currently know of service requested in connect descriptor
'ORA-22', // invalid session ID; access denied
'ORA-28', // your session has been killed
'ORA-31', // your session has been marked for kill
'ORA-45', // your session has been terminated with no replay
'ORA-378', // buffer pools cannot be created as specified
'ORA-602', // internal programming exception
'ORA-603', // ORACLE server session terminated by fatal error
'ORA-609', // could not attach to incoming connection
'ORA-1012', // not logged on
'ORA-1041', // internal error. hostdef extension doesn't exist
'ORA-1043', // user side memory corruption
'ORA-1089', // immediate shutdown or close in progress
'ORA-1092', // ORACLE instance terminated. Disconnection forced
'ORA-2396', // exceeded maximum idle time, please connect again
'ORA-3122', // attempt to close ORACLE-side window on user side
'ORA-00022', // invalid session ID; access denied
'ORA-00028', // your session has been killed
'ORA-00031', // your session has been marked for kill
'ORA-00045', // your session has been terminated with no replay
'ORA-00378', // buffer pools cannot be created as specified
'ORA-00602', // internal programming exception
'ORA-00603', // ORACLE server session terminated by fatal error
'ORA-00609', // could not attach to incoming connection
'ORA-01012', // not logged on
'ORA-01041', // internal error. hostdef extension doesn't exist
'ORA-01043', // user side memory corruption
'ORA-01089', // immediate shutdown or close in progress
'ORA-01092', // ORACLE instance terminated. Disconnection forced
'ORA-02396', // exceeded maximum idle time, please connect again
'ORA-03122', // attempt to close ORACLE-side window on user side
'ORA-12153', // TNS'not connected
'ORA-12537', // TNS'connection closed
'ORA-12547', // TNS'lost contact
Expand Down

0 comments on commit 1f4d8f2

Please sign in to comment.