Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Oracle error codes #3498

Merged
merged 1 commit into from Oct 28, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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