[teiid-issues] [JBoss JIRA] (TEIID-3024) QueryTimeout not working for synchronous queries against Teiid

gaurav singhal (JIRA) issues at jboss.org
Wed Jul 2 12:58:25 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981567#comment-12981567 ] 

gaurav singhal commented on TEIID-3024:
---------------------------------------

ok I tried changing the test case to use socket connection and then the timeout happens for sync query as well. Thanks.

> QueryTimeout not working for synchronous  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
>         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.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the teiid-issues mailing list