#455 - Should not generate "FOR UPDATE" for delete query

This commit is contained in:
Robin Bygrave
2015-11-30 16:50:26 +13:00
parent fae39fe650
commit 579812d717
2 changed files with 16 additions and 0 deletions
@@ -435,6 +435,7 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
// includes joins and we use - delete ... where id in (...)
maxRows = 0;
firstRow = 0;
forUpdate = false;
setSelectId();
}