This content has been marked as final.
Show 2 replies
-
1. Re: Is there a way to timeout active connections (instead of
kalyan120 Sep 6, 2005 4:13 PM (in response to alchemista)Did you mean to timeout on a statement execution (within a connection)?
If so, you can use Statement.setQueryTimeOut(int seconds). I don't think there is any configurable way to set it on a statement via the -ds.xml or any other way.
Thanks,
Kalyan. -
2. Re: Is there a way to timeout active connections (instead of
reidmp Sep 7, 2005 10:32 PM (in response to alchemista)If you use the connector within the context of a transaction, you should be able to use the transaction timeout to do what you want.