mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-20 01:55:02 +00:00
HHH-13496 Move two instance fields to local fields in SessionImpl
This commit is contained in:
parent
6c44ef12e6
commit
dd7d798d77
@ -234,9 +234,6 @@ public final class SessionImpl
|
|||||||
private transient int dontFlushFromFind;
|
private transient int dontFlushFromFind;
|
||||||
|
|
||||||
private transient ExceptionMapper exceptionMapper;
|
private transient ExceptionMapper exceptionMapper;
|
||||||
private transient ManagedFlushChecker managedFlushChecker;
|
|
||||||
|
|
||||||
private transient AfterCompletionAction afterCompletionAction;
|
|
||||||
|
|
||||||
private transient LoadEvent loadEvent; //cached LoadEvent instance
|
private transient LoadEvent loadEvent; //cached LoadEvent instance
|
||||||
|
|
||||||
@ -343,6 +340,8 @@ private CacheStoreMode currentCacheStoreMode() {
|
|||||||
|
|
||||||
|
|
||||||
private void initializeFromSessionOwner(SessionOwner sessionOwner) {
|
private void initializeFromSessionOwner(SessionOwner sessionOwner) {
|
||||||
|
ManagedFlushChecker managedFlushChecker;
|
||||||
|
AfterCompletionAction afterCompletionAction;
|
||||||
if ( sessionOwner != null ) {
|
if ( sessionOwner != null ) {
|
||||||
if ( sessionOwner.getExceptionMapper() != null ) {
|
if ( sessionOwner.getExceptionMapper() != null ) {
|
||||||
exceptionMapper = sessionOwner.getExceptionMapper();
|
exceptionMapper = sessionOwner.getExceptionMapper();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user