diff --git a/hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java b/hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java index 53b94b0787..1327cd2986 100755 --- a/hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java @@ -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();