HHH-16274 Fix sorting of DependantValue's properties
This commit is contained in:
parent
77d9763192
commit
edc60f1a7a
|
@ -631,7 +631,16 @@ public class TableBinder {
|
|||
}
|
||||
}
|
||||
if ( value instanceof ToOne ) {
|
||||
( (ToOne) value).setSorted( true );
|
||||
( (ToOne) value ).setSorted( true );
|
||||
}
|
||||
else if ( value instanceof DependantValue ) {
|
||||
( (DependantValue) value ).setSorted( true );
|
||||
}
|
||||
else {
|
||||
throw new AssertionError(
|
||||
"This should never happen, value can only be ToOne or DependantValue," +
|
||||
"instead it's '" + value.getClass().getName() + "'"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue