HHH-13496 Do not use toString on arrays when formatting error messages

This commit is contained in:
Sanne Grinovero 2019-07-08 18:13:28 +01:00
parent 0cccf74478
commit b2eaf4e88d
1 changed files with 2 additions and 2 deletions

View File

@ -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