mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-03-04 16:59:29 +00:00
HHH-13303 Fix error message
This commit is contained in:
parent
d2af672ca8
commit
4d301b1726
@ -1094,7 +1094,7 @@ private String[] getSubclassNameClosureBySubclassTable(int subclassTableNumber)
|
||||
|
||||
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"
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user