HHH-14761 Exception message String.format too many variables
Fix https://hibernate.atlassian.net/browse/HHH-14761
This commit is contained in:
parent
e82a45d616
commit
78e620d9fe
|
@ -669,7 +669,7 @@ public abstract class CollectionBinder {
|
|||
private AnnotationException buildIllegalSortCombination() {
|
||||
return new AnnotationException(
|
||||
String.format(
|
||||
"Illegal combination of annotations on %s. Only one of @%s, @%s and @%s can be used",
|
||||
"Illegal combination of annotations on %s. Only one of @%s and @%s can be used",
|
||||
safeCollectionRole(),
|
||||
SortNatural.class.getName(),
|
||||
SortComparator.class.getName()
|
||||
|
|
Loading…
Reference in New Issue