SQL Command window "breaks" if the network connection is lost.
1.1 --- a/PLSQL/Execution/src/org/netbeans/modules/plsql/execution/PlsqlExecuteAction.java Thu Jan 26 16:28:44 2012 +0100
1.2 +++ b/PLSQL/Execution/src/org/netbeans/modules/plsql/execution/PlsqlExecuteAction.java Mon Jan 30 09:29:43 2012 +0530
1.3 @@ -281,6 +281,11 @@
1.4 return;
1.5 }
1.6 }
1.7 + } else {
1.8 + //to reconnect if the connection is gone.
1.9 + if (connection.getJDBCConnection() == null) {
1.10 + connectionProvider.connect(connection);
1.11 + }
1.12 }
1.13
1.14 //if the user has selected any text in the window, create exec block using selected text only