Affects Version/s: 2.1-RC2
Fix Version/s: None
Environment:Windows 7 64-bit, Java_1.0.
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
Grails version: 2.1.0.RC2
This is most probably an hibernate issue but since I am unable to provide an example for hibernate directly, I'll post an example here and hope somebody will file a ("more qualified than I could do it") bug report there.
It may be related to this hibernate bug (at least the title suggests this) but I am not sure: https://hibernate.onjira.com/browse/HHH-3762
So if we have
will generate a
The issue is that the generated query does not specify the table to lock (it should read "...for update of this_").