[
https://issues.jboss.org/browse/TEIIDDES-1525?page=com.atlassian.jira.plu...
]
Barry LaFond updated TEIIDDES-1525:
-----------------------------------
Description:
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)
was:Paul Nittel received a TeiidSQLException previewing a PartsSupplier DB
TeiidSQLException during preview data action
--------------------------------------------
Key: TEIIDDES-1525
URL:
https://issues.jboss.org/browse/TEIIDDES-1525
Project: Teiid Designer
Issue Type: Feature Request
Components: VDB & Execution
Affects Versions: 8.0
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 8.0
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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira