mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
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 Serializable loadEntityIdByNaturalId(
|
||||
if ( LOG.isTraceEnabled() ) {
|
||||
LOG.tracef(
|
||||
"Resolving natural-id [%s] to id : %s ",
|
||||
naturalIdValues,
|
||||
Arrays.asList( naturalIdValues ),
|
||||
MessageHelper.infoString( this )
|
||||
);
|
||||
}
|
||||
@ -5409,7 +5409,7 @@ public Serializable loadEntityIdByNaturalId(
|
||||
e,
|
||||
String.format(
|
||||
"could not resolve natural-id [%s] to id : %s",
|
||||
naturalIdValues,
|
||||
Arrays.asList( naturalIdValues ),
|
||||
MessageHelper.infoString( this )
|
||||
),
|
||||
sqlEntityIdByNaturalIdString
|
||||
|
Loading…
x
Reference in New Issue
Block a user