Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How cancel query through JDBC?
I have pretty much the exact same question. Although the problem is that
I have update queries that are waiting indefinitely on tables or rows that are locked by
another application. I tried java.sql.Statement.setQueryTimeout(x) but it
didn't timeout. I've now read that setQueryTimeout won't detect a problem
in my instance.
I need a way to automatically have my update query be automatically timed out instead of waiting forever.
Are you sure this isn't possible?
Don.
On Wed, 30 Jul 2003 20:23:45 +0200, Sybrand Bakker wrote:
> On Wed, 30 Jul 2003 18:08:41 GMT, "Randy Nichols"
> <randynichols_at_yahoo.com> wrote:
>
>>Pardon if this is a repeat. I never saw answer to previous post. >> >>Is there a way to abort an Oracle 8i, 9 query that has been initiated via >>JDBC (for instance, if it is running too long)? >> >>-Randy Nichols >>
![]() |
![]() |