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() ) {
|
if ( LOG.isTraceEnabled() ) {
|
||||||
LOG.tracef(
|
LOG.tracef(
|
||||||
"Resolving natural-id [%s] to id : %s ",
|
"Resolving natural-id [%s] to id : %s ",
|
||||||
naturalIdValues,
|
Arrays.asList( naturalIdValues ),
|
||||||
MessageHelper.infoString( this )
|
MessageHelper.infoString( this )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -5409,7 +5409,7 @@ public abstract class AbstractEntityPersister
|
||||||
e,
|
e,
|
||||||
String.format(
|
String.format(
|
||||||
"could not resolve natural-id [%s] to id : %s",
|
"could not resolve natural-id [%s] to id : %s",
|
||||||
naturalIdValues,
|
Arrays.asList( naturalIdValues ),
|
||||||
MessageHelper.infoString( this )
|
MessageHelper.infoString( this )
|
||||||
),
|
),
|
||||||
sqlEntityIdByNaturalIdString
|
sqlEntityIdByNaturalIdString
|
||||||
|
|
Loading…
Reference in New Issue