File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
hibernate-core/src/main/java/org/hibernate/query/internal Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 3232import static org .hibernate .engine .internal .ManagedTypeHelper .isHibernateProxy ;
3333import static org .hibernate .internal .util .collections .CollectionHelper .linkedMapOfSize ;
3434import static org .hibernate .internal .util .collections .CollectionHelper .mapOfSize ;
35- import static org .hibernate .proxy .HibernateProxy .extractLazyInitializer ;
3635
3736/**
3837 * Manages the group of QueryParameterBinding for a particular query.
@@ -202,7 +201,7 @@ public boolean hasAnyTransientEntityBindings(SharedSessionContractImplementor se
202201
203202 private static boolean isTransientEntityBinding (
204203 SharedSessionContractImplementor session , QueryParameterBinding <?> binding , Object value ) {
205- return value != null && !isHibernateProxy ( value ) && extractLazyInitializer ( value ) == null
204+ return value != null && !isHibernateProxy ( value )
206205 && binding .getBindType () instanceof EntityDomainType <?> entityDomainType
207206 && session .getFactory ().getMappingMetamodel ()
208207 .getEntityDescriptor ( entityDomainType .getHibernateEntityName () )
You can’t perform that action at this time.
0 commit comments