Hello,
I installed the polished plugin version.
I am using Eclipse 2.1.1 and the oracle thin driver
to connect to an oracle 9i database.
URL: jdbc:oracle:thin:@...
Driver: oracle.jdbc.driver.OracleDriver
Executing a SELECT statement works fine.
Executing a DELETE, INSERT or UPDATE statement
misbehaves. In an endless loop new tabs are created
in the results view.
I fixed this problem locally by adding a break in line 462
the views.connection.ConnectionContentProvider class:
while (true) {
if (flag) {
...
} else {
int updateCount = stmt.getUpdateCount();
if (updateCount == -1) {
break;
}
ResultView.getInstance().addText(
updateCount + " records effected.",
statements[i],
newTab);
*break*;
}
...
}
the while loop never stops because
stmt.getUpdateCount() never returns -1
bye,
feri