HHH-13496 Do not use toString on arrays when formatting error messages
This commit is contained in:
parent
0cccf74478
commit
b2eaf4e88d
|
@ -5361,7 +5361,7 @@ public abstract class AbstractEntityPersister
|
|||
if ( LOG.isTraceEnabled() ) {
|
||||
LOG.tracef(
|
||||
"Resolving natural-id [%s] to id : %s ",
|
||||
naturalIdValues,
|
||||
Arrays.asList( naturalIdValues ),
|
||||
MessageHelper.infoString( this )
|
||||
);
|
||||
}
|
||||
|
@ -5409,7 +5409,7 @@ public abstract class AbstractEntityPersister
|
|||
e,
|
||||
String.format(
|
||||
"could not resolve natural-id [%s] to id : %s",
|
||||
naturalIdValues,
|
||||
Arrays.asList( naturalIdValues ),
|
||||
MessageHelper.infoString( this )
|
||||
),
|
||||
sqlEntityIdByNaturalIdString
|
||||
|
|
Loading…
Reference in New Issue