#1833 - When cascade persisting twice to ElementCollection ... we get do extra delete and inserts

This commit is contained in:
rob bygrave
2019-10-08 13:25:18 +13:00
parent 0e7607bb27
commit fb5a69adea
10 changed files with 148 additions and 47 deletions
@@ -201,7 +201,7 @@ class ImplicitReadOnlyTransaction implements SpiTransaction, TxnProfileEventCode
}
@Override
public void unregisterBean(Object bean) {
public void unregisterBeans() {
throw new IllegalStateException(notExpectedMessage);
}
@@ -280,7 +280,6 @@ class ImplicitReadOnlyTransaction implements SpiTransaction, TxnProfileEventCode
@Override
public void setBatchMode(boolean batchMode) {
}
@Override