#1613 - When using transaction.setPersistCascade(false) ... a Delete query should not cascade

This commit is contained in:
rob bygrave
2019-01-22 00:05:19 +13:00
parent 1d49e5b341
commit 26d1288757
9 changed files with 49 additions and 7 deletions
@@ -18,6 +18,11 @@ public class NativeSqlQueryPlanKey implements CQueryPlanKey {
return getPartialKey();
}
@Override
public CQueryPlanKey withDeleteByIds() {
throw new IllegalStateException("Not allowed");
}
/**
* Return as a partial key. For rawSql hash the sql is part of the key and as such
* needs to be included in order to have a complete key. Typically the MD5 of the sql