ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATIS-22) Specify Query Timeout
Date Thu, 29 Jun 2006 16:04:31 GMT
    [ http://issues.apache.org/jira/browse/IBATIS-22?page=comments#action_12418488 ] 

Jeff Butler commented on IBATIS-22:

You are correct that we don't support a dynamic timeout.  I'm not sure how we would do it
except to add overloaded SqlMapClient methods with a timeout parameter, or looking in the
parameter object for a timeout property.  Both of which seem ugly to me.

So you'll have to live with duplicating the statements if you really need to do this.  It's
a small price to pay for an unusual situation I think.

> 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
>     Assignee: Jeff Butler
>      Fix For: 2.2.0

> 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:
For more information on JIRA, see:

View raw message