M
Markus Trenkle
Hello all,
I know this has been discussed often, but I still can not find a good
solution. I want to write an application where in one thread a database
query is run against an oracle db. This query could run into a deadlock
so I have to monitor this in another thread and react accordingly.
I understand that the use of Thread.stop() is strongly discouraged and
not working either. What is the best solution to this? Could I close the
socket and see what is left from the database connection? Where do I get
the socket then? Any other ideas?
Thanks,
Markus
I know this has been discussed often, but I still can not find a good
solution. I want to write an application where in one thread a database
query is run against an oracle db. This query could run into a deadlock
so I have to monitor this in another thread and react accordingly.
I understand that the use of Thread.stop() is strongly discouraged and
not working either. What is the best solution to this? Could I close the
socket and see what is left from the database connection? Where do I get
the socket then? Any other ideas?
Thanks,
Markus