diff --git a/hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java b/hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java index 700dc2e900..3577401e5b 100644 --- a/hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java +++ b/hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java @@ -119,6 +119,7 @@ import org.hibernate.loader.ast.spi.MultiIdEntityLoader; import org.hibernate.loader.ast.spi.NaturalIdLoader; import org.hibernate.loader.ast.spi.SingleIdEntityLoader; import org.hibernate.loader.ast.spi.SingleUniqueKeyEntityLoader; +import org.hibernate.loader.entity.CacheEntityLoaderHelper; import org.hibernate.mapping.BasicValue; import org.hibernate.mapping.Column; import org.hibernate.mapping.Component; @@ -4511,7 +4512,7 @@ public abstract class AbstractEntityPersister identifier, entity, LockOptions.READ, - session + session ); }