[jboss-jira] [JBoss JIRA] (JBJCA-829) Cannot enable setQueryTimeout when query-timeout set in datasource configuration

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Tue Jun 5 10:08:17 EDT 2012


     [ https://issues.jboss.org/browse/JBJCA-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesper Pedersen resolved JBJCA-829.
-----------------------------------

    Resolution: Done

    
> Cannot enable setQueryTimeout when query-timeout set in datasource configuration
> --------------------------------------------------------------------------------
>
>                 Key: JBJCA-829
>                 URL: https://issues.jboss.org/browse/JBJCA-829
>             Project: IronJacamar
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 1.0.11.Final, 1.1.0.Alpha7
>            Reporter: Eiichi Nagai
>            Assignee: Jesper Pedersen
>             Fix For: 1.0.12.Final, 1.1.0.Beta1
>
>
> The Statement#setQueryTimeout in customer application cannot be enabled when the query-timeout set in datasource configuration.
> The WrappedPreparedStatement#checkConfiguredQueryTimeout is called in the Statement#execute timing and the query-timeout value is set to the Statement#setQueryTimeout. Therefore, the setQueryTimeout value set by customer application before the Statement#execute does not become effective. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list