Skip to content

Commit 7ba3bb9

Browse files
jrenaatbeikov
authored andcommitted
HHH-16169 - Fix potential NullPointerException in CollectionEntry
Signed-off-by: Jan Schatteman <[email protected]>
1 parent ab86099 commit 7ba3bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionEntry.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public void setRole(String role) {
375375
@Override
376376
public String toString() {
377377
String result = "CollectionEntry" +
378-
MessageHelper.collectionInfoString( loadedPersister.getRole(), loadedKey );
378+
MessageHelper.collectionInfoString( role, loadedKey );
379379
if ( currentPersister != null ) {
380380
result += "->" +
381381
MessageHelper.collectionInfoString( currentPersister.getRole(), currentKey );

0 commit comments

Comments
 (0)