Hi, Like most settings, you can add it to the database URL: ;LOCK_TIMEOUT=10000. to find out which connection is holding the lock, see INFORMATION_SCHEMA.LOCKS.
Regards, Thomas On Wednesday, August 4, 2010, Rami Ojares <rami.oja...@gmail.com> wrote: > Hi, > > Is there any way to define a default lock_timeout other than 1000(ms)? > The reason I wish for this is that recently with 1.2.139 I have started to > receive LOCK_TIMEOUT_1 errors (50200). > Also what is the best way to investigate reasons for lock conflicts? > > - rami > > -- > You received this message because you are subscribed to the Google Groups "H2 > Database" group. > To post to this group, send email to h2-datab...@googlegroups.com. > To unsubscribe from this group, send email to > h2-database+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/h2-database?hl=en. > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to h2-datab...@googlegroups.com. To unsubscribe from this group, send email to h2-database+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.