Skip to content

Commit 34db35a

Browse files
committed
NH-2861 - Fix failing tests
1 parent a7f9cca commit 34db35a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NHibernate/Persister/Entity/AbstractEntityPersister.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3211,9 +3211,9 @@ private IDictionary<string, string> GetColumnsToTableAliasMap(string rootAlias)
32113211
for (int i =0; i < SubclassPropertyNameClosure.Length; i++)
32123212
{
32133213
string property = SubclassPropertyNameClosure[i];
3214-
string[] cols = subclassPropertyColumnNames[property];
3214+
string[] cols = GetSubclassPropertyColumnNames(property);
32153215

3216-
if (cols.Length > 0)
3216+
if (cols != null && cols.Length > 0)
32173217
{
32183218
PropertyKey key = new PropertyKey(cols[0], GetSubclassPropertyTableNumber(i));
32193219
propDictionary[key] = property;

0 commit comments

Comments
 (0)