HHH-13823 Make three private methods of SessionImpl visible to subclasses
This commit is contained in:
parent
a2f21e12a4
commit
a0f9b1df00
|
@ -558,13 +558,13 @@ public class SessionImpl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkNoUnresolvedActionsBeforeOperation() {
|
protected void checkNoUnresolvedActionsBeforeOperation() {
|
||||||
if ( persistenceContext.getCascadeLevel() == 0 && actionQueue.hasUnresolvedEntityInsertActions() ) {
|
if ( persistenceContext.getCascadeLevel() == 0 && actionQueue.hasUnresolvedEntityInsertActions() ) {
|
||||||
throw new IllegalStateException( "There are delayed insert actions before operation as cascade level 0." );
|
throw new IllegalStateException( "There are delayed insert actions before operation as cascade level 0." );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkNoUnresolvedActionsAfterOperation() {
|
protected void checkNoUnresolvedActionsAfterOperation() {
|
||||||
if ( persistenceContext.getCascadeLevel() == 0 ) {
|
if ( persistenceContext.getCascadeLevel() == 0 ) {
|
||||||
actionQueue.checkNoUnresolvedActionsAfterOperation();
|
actionQueue.checkNoUnresolvedActionsAfterOperation();
|
||||||
}
|
}
|
||||||
|
@ -3371,7 +3371,7 @@ public class SessionImpl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private CacheMode determineAppropriateLocalCacheMode(Map<String, Object> localProperties) {
|
protected CacheMode determineAppropriateLocalCacheMode(Map<String, Object> localProperties) {
|
||||||
CacheRetrieveMode retrieveMode = null;
|
CacheRetrieveMode retrieveMode = null;
|
||||||
CacheStoreMode storeMode = null;
|
CacheStoreMode storeMode = null;
|
||||||
if ( localProperties != null ) {
|
if ( localProperties != null ) {
|
||||||
|
|
Loading…
Reference in New Issue