diff --git a/core/src/main/java/org/hibernate/impl/StatelessSessionImpl.java b/core/src/main/java/org/hibernate/impl/StatelessSessionImpl.java index 3b4a039638..d8975c3e4d 100755 --- a/core/src/main/java/org/hibernate/impl/StatelessSessionImpl.java +++ b/core/src/main/java/org/hibernate/impl/StatelessSessionImpl.java @@ -625,7 +625,7 @@ public class StatelessSessionImpl extends AbstractSessionImpl } public LoadQueryInfluencers getLoadQueryInfluencers() { - return null; + return LoadQueryInfluencers.NONE; } public void setFetchProfile(String name) {}