Julius.Stroffek wrote: > Hi Sridharsingh, > > Please describe more your running configuration. This kind of error may > occur if you are running different instances of derby to access a same > database. ... > Sridharsingh Inder wrote: > >> Hi Derby Team, >> >> We are using derby database in our application. While updating the >> table, we are getting >> "A lock could not be obtained within the time requested " this exception. >> >> My queries are as follows >> >> 1. Why I am getting this exception? >> 2. What I should do to avoid this error? >> 3. How the locking mechanism working in Derby Database?
This faq on lock timeout errors mentions some properties that might help isolate the specific sql statement: http://db.apache.org/derby/faq.html#debug_lock_timeout -jean
