QueryTimeout not working for synchronous local queries against Teiid
--------------------------------------------------------------------
Key: TEIID-3024
URL:
https://issues.jboss.org/browse/TEIID-3024
Project: Teiid
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JDBC Driver
Affects Versions: 8.1, 8.7
Reporter: gaurav singhal
Assignee: Steven Hawkins
Fix For: 8.8, 8.7.1
Attachments: query timeout bug.zip
If i run a query with synchronous query with a timeout set using
PreparedStatementImpl.setQueryTimeout() method, that timeout is not honored. But if i run
the same query with all the same setup and execute the query asynchronously then a timeout
happens and warning message like below is printed:
Jul 02, 2014 10:19:21 AM org.teiid.jdbc.StatementImpl timeoutOccurred
WARNING: Timeout occurred in Statement.