We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f8afe3 commit b131556Copy full SHA for b131556
src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs
@@ -794,7 +794,8 @@ private IQueryable ResolveEntityJoinReferencedPersister(IASTNode path)
794
if (path.Type == IDENT)
795
{
796
var pathIdentNode = (IdentNode) path;
797
- return SessionFactoryHelper.FindQueryableUsingImports(pathIdentNode.Path);
+ // Since IDENT node is not expected for implicit join path, we can throw on not found persister
798
+ return (IQueryable) SessionFactoryHelper.RequireClassPersister(pathIdentNode.Path);
799
}
800
else if (path.Type == DOT)
801
0 commit comments