Paul Libbrecht wrote:
> Hello list,
> 
> could there be a way for me to set a DBCP configuration stopping a query
> if it takes too long?
> Ideally, this should be in the database (MySQL in my case) but I see not
> place to put that in MySQL.

Hi Paul,

Do you mean globally for all queries using connections from the
datasource? If you just need to time out specific queries, DBCP's
DelegatingStatements do implement setQueryTimeOut (delegating to the
driver).

Phil
> 
> thanks in advance
> 
> paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to