HHH-13303 Fix error message

This commit is contained in:
Malcolm Taylor 2019-04-02 08:45:26 +01:00 committed by Sanne Grinovero
parent d2af672ca8
commit 4d301b1726
1 changed files with 1 additions and 1 deletions

View File

@ -1094,7 +1094,7 @@ public class JoinedSubclassEntityPersister extends AbstractEntityPersister {
if ( index >= subclassNamesBySubclassTable.length ) {
throw new IllegalArgumentException(
"Given subclass table number is outside expected range [" + subclassNamesBySubclassTable.length
"Given subclass table number is outside expected range [" + (subclassNamesBySubclassTable.length -1)
+ "] as defined by subclassTableNameClosure/subclassClosure"
);
}