You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Jonathan Burstein (JIRA)" <ib...@incubator.apache.org> on 2005/12/06 01:32:08 UTC

[jira] Commented: (IBATIS-22) Specify Query Timeout

    [ http://issues.apache.org/jira/browse/IBATIS-22?page=comments#action_12359368 ] 

Jonathan Burstein commented on IBATIS-22:
-----------------------------------------

Having a queryTimeout attribute on statements (much along the lines of fetchSize) seems like a very reasonable thing to have (and pretty simple to do). Forcing the use of a datasource proxy to set timeouts forces people to jump through a lot of hoops, and precludes the possibility of having different timeout for different statements.

> Specify Query Timeout
> ---------------------
>
>          Key: IBATIS-22
>          URL: http://issues.apache.org/jira/browse/IBATIS-22
>      Project: iBatis for Java
>         Type: New Feature
>   Components: SQL Maps
>     Reporter: Rahul Kapoor

>
> There seems to be no current way to specify timeouts for select statements. I did see a message in the sf forum that using driver properties is a possible workaround. But it would be really nice to have a per statement timeout.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira