HHH-14142 Make constructor of StatelessSessionImpl public

needed by Hibernate Reactive, see:

https://github.com/hibernate/hibernate-reactive/pull/310
https://hibernate.atlassian.net/browse/HHH-14142
This commit is contained in:
Gavin King 2020-08-07 19:36:20 +02:00 committed by Sanne Grinovero
parent 6da11f4c2a
commit 5ec07faffd
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class StatelessSessionImpl extends AbstractSharedSessionContract implemen
private final boolean connectionProvided;
private final boolean allowBytecodeProxy;
StatelessSessionImpl(SessionFactoryImpl factory, SessionCreationOptions options) {
public StatelessSessionImpl(SessionFactoryImpl factory, SessionCreationOptions options) {
super( factory, options );
connectionProvided = options.getConnection() != null;
allowBytecodeProxy = getFactory().getSessionFactoryOptions().isEnhancementAsProxyEnabled();