Skip to content

Commit aefd6c1

Browse files
Update src/NHibernate/Loader/Custom/CustomLoader.cs
Co-authored-by: Frédéric Delaporte <[email protected]>
1 parent 24b48e8 commit aefd6c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NHibernate/Loader/Custom/CustomLoader.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public CustomLoader(ICustomQuery customQuery, ISessionFactoryImplementor factory
103103
specifiedAliases.Add(rootRtn.Alias);
104104
entityaliases.Add(rootRtn.EntityAliases);
105105
querySpaces.UnionWith(persister.QuerySpaces);
106+
// 6.0 TODO: the cast and null coalesce to true will no more be needed once IPersister's todo is done.
106107
supportsQueryCache = supportsQueryCache && ((persister as IPersister)?.SupportsQueryCache ?? true);
107108
includeInResultRowList.Add(true);
108109
}

0 commit comments

Comments
 (0)