mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1613 - When using transaction.setPersistCascade(false) ... a Delete query should not cascade
This commit is contained in:
@@ -24,6 +24,11 @@ class RawSqlQueryPlanKey implements CQueryPlanKey {
|
||||
return getPartialKey() + ":r";
|
||||
}
|
||||
|
||||
@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
|
||||
|
||||
Reference in New Issue
Block a user