Skip to content

Commit 9ae0b28

Browse files
Fix NH892 regression
1 parent 315363f commit 9ae0b28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NHibernate/Hql/Ast/ANTLR/Tree/DotNode.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ private void DereferenceEntity(EntityType entityType, bool implicitJoin, string
441441
if (comparisonWithNullableEntity || comparisonThroughPropertyRef)
442442
{
443443
_columns = FromElement.GetIdentityColumns();
444+
DataType = FromElement.EntityPersister.EntityMetamodel.EntityType;
444445
}
445446
}
446447
else

0 commit comments

Comments
 (0)