HHH-15369 UnknownTableReferenceException when two subclasses have same field with different type

This commit is contained in:
Andrea Boriero 2022-06-28 12:39:27 +02:00 committed by Andrea Boriero
parent 9f288c3520
commit 115c6cdf27
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ public class NavigablePath implements DotIdentifierSequence, Serializable {
if ( ! Objects.equals( getAlias(), otherNavigablePath.getAlias() ) ) { if ( ! Objects.equals( getAlias(), otherNavigablePath.getAlias() ) ) {
return false; return false;
} }
return Objects.equals( getRealParent(), otherNavigablePath.getRealParent() );
} }
return Objects.equals( getParent(), otherPath.getParent() ); return Objects.equals( getParent(), otherPath.getParent() );