Inserting data and locking rows in case of a conflict

2012-11-30 Thread Gili
Hi, I posted a question at http://stackoverflow.com/questions/13614965/select-for-update-and-conflicting-inserts asking whether it is possible to insert into a table and lock the conflicting row in case of a conflict. Is this possible in H2, or in any other database for that matter? Thanks,

Re: Inserting data and locking rows in case of a conflict

2012-12-01 Thread Noel Grandin
answered on stackoverflow. On Sat, Dec 1, 2012 at 12:09 AM, Gili wrote: > Hi, > > I posted a question at > http://stackoverflow.com/questions/13614965/select-for-update-and-conflicting-insertsasking > whether it is possible to insert into a table and lock the > conflicting row in case of a con