Subject | Re: FireBird lock problem |
---|---|
Author | Roman Rokytskyy |
Post date | 2003-12-03T07:25:41Z |
> While doing a executeUpdate of some query, the Driver locks the dbDo you run multiple threads? If yes, why your previous query does not
> handle in a synchronized block. At the same time say u want to execute
> some other query, then the second executeQuery waits for the
> connection's statement locked by the previous one, then it waits for
> ever because the locked connection by the previous query doesn't
> return.
return? synchronized() block will be left sooner or later unless
there's endless loop inside (which isn't, since it works in normal case).
> This happening so frequently. Kindly pour me some light over this.Please, post your code here, it is hard to suggest something without it.
Roman