db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sperlich, Tino" <t.sperl...@hpc-hamburg.de>
Subject blocking calls, query timeout
Date Mon, 06 Sep 2004 08:48:06 GMT
Hi all,

my problem is this:
My app using torque accesses an oracle db that 
is shared with other apps. These apps tend to 
use long blocking calls to select/update data,
causing my app to wait forever on updating that
same data.

As I cannot change those other apps I would 
like to detect these blockings and handle them,
but therefore I need to set the timeout or smth. on 
my queries, so they return with a nice SQLException
stating the error.

How would I set this timeout in torque, are there
other ways to cope with this problem?

Best regards,

Tino Sperlich

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message