-
Feature Request
-
Resolution: Done
-
Major
-
8.0
-
None
Paul Nittel received a TeiidSQLException previewing a PartsSupplier DB
Ramesh Reddy commented: You are calling resultset.getObject(), after the last row has passed.
i.e. you are not checking "resultset.next()" is true or not.
org.teiid.jdbc.TeiidSQLException: ResultSet cursor is after the last row.
at org.teiid.jdbc.ResultSetImpl.getObject(ResultSetImpl.java:203)
at org.teiid.jdbc.ResultSetImpl.getString(ResultSetImpl.java:773)
at org.teiid.jdbc.ResultSetImpl.getString(ResultSetImpl.java:778)
at org.teiid.datatools.connectivity.ui.TeiidAdHocScriptRunnable.getExecutionPlan(TeiidAdHocScriptRunnable.java:334)
at org.teiid.datatools.connectivity.ui.TeiidAdHocScriptRunnable.handleShowExecutionPlan(TeiidAdHocScriptRunnable.java:249)
at org.teiid.datatools.connectivity.ui.TeiidAdHocScriptRunnable.access$0(TeiidAdHocScriptRunnable.java:248)
at org.teiid.datatools.connectivity.ui.TeiidAdHocScriptRunnable$UpdatePlanViewRunnable.run(TeiidAdHocScriptRunnable.java:290)