Skip to content

Commit 323615c

Browse files
DavideDsebersole
authored andcommitted
HHH-19683 Change scope of AbstractEntityPersister#initiaalizeLazyProperty to protected
1 parent a97606f commit 323615c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,6 +1746,7 @@ protected boolean initializeLazyProperty(
17461746
return fieldName.equals( lazyPropertyNames[index] );
17471747
}
17481748

1749+
// Used by Hibernate Reactive
17491750
protected boolean initializeLazyProperty(
17501751
final String fieldName,
17511752
final Object entity,
@@ -1759,7 +1760,8 @@ protected boolean initializeLazyProperty(
17591760
return fieldName.equals( name );
17601761
}
17611762

1762-
private void initializeLazyProperty(Object entity, EntityEntry entry, Object propValue, int index, Type type) {
1763+
// Used by Hibernate Reactive
1764+
protected void initializeLazyProperty(Object entity, EntityEntry entry, Object propValue, int index, Type type) {
17631765
setPropertyValue( entity, index, propValue );
17641766
final Object[] loadedState = entry.getLoadedState();
17651767
if ( loadedState != null ) {

0 commit comments

Comments
 (0)