1 Reply Latest reply on Jul 3, 2014 7:20 AM by Steven Hawkins

    QueryTimeout not working for synchronous  queries against Teiid

    gaurav singhal Newbie



      I'm facing an issue where 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.


      Isn't the timeout supposed to be honored for  synchronous queries too?