mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
HHH-16169 - Fix potential NullPointerException in CollectionEntry
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
parent
6f16e4d947
commit
30ad35643c
@ -375,7 +375,7 @@ public void setRole(String role) {
|
|||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
String result = "CollectionEntry" +
|
String result = "CollectionEntry" +
|
||||||
MessageHelper.collectionInfoString( loadedPersister.getRole(), loadedKey );
|
MessageHelper.collectionInfoString( role, loadedKey );
|
||||||
if ( currentPersister != null ) {
|
if ( currentPersister != null ) {
|
||||||
result += "->" +
|
result += "->" +
|
||||||
MessageHelper.collectionInfoString( currentPersister.getRole(), currentKey );
|
MessageHelper.collectionInfoString( currentPersister.getRole(), currentKey );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user