HHH-11934 Make the delegate field accessible to child classes

This commit is contained in:
Guillaume Smet 2017-08-17 14:34:01 +02:00 committed by Vlad Mihalcea
parent 6390471d55
commit 1f7aac9979
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@ public class SessionFactoryDelegatingImpl implements SessionFactoryImplementor,
this.delegate = delegate;
}
protected SessionFactoryImplementor getDelegate() {
return delegate;
}
@Override
public SessionFactoryOptions getSessionFactoryOptions() {
return delegate.getSessionFactoryOptions();