HHH-14048 Expose lazy property fetching to Hibernate reactive

This commit is contained in:
gavinking 2020-05-27 20:04:37 +02:00 committed by Andrea Boriero
parent 17152bfbba
commit b5edf6cabe
1 changed files with 19 additions and 3 deletions

View File

@ -1196,7 +1196,7 @@ public abstract class AbstractEntityPersister
}
}
private Object initializeLazyPropertiesFromDatastore(
protected Object initializeLazyPropertiesFromDatastore(
final String fieldName,
final Object entity,
final SharedSessionContractImplementor session,
@ -1308,7 +1308,7 @@ public abstract class AbstractEntityPersister
}
}
private Object initializeLazyPropertiesFromCache(
protected Object initializeLazyPropertiesFromCache(
final String fieldName,
final Object entity,
final SharedSessionContractImplementor session,
@ -1346,7 +1346,7 @@ public abstract class AbstractEntityPersister
return result;
}
private boolean initializeLazyProperty(
protected boolean initializeLazyProperty(
final String fieldName,
final Object entity,
final SharedSessionContractImplementor session,
@ -2409,6 +2409,22 @@ public abstract class AbstractEntityPersister
}
protected int[] getLazyPropertyNumbers() {
return lazyPropertyNumbers;
}
protected String[] getLazyPropertyNames() {
return lazyPropertyNames;
}
protected Type[] getLazyPropertyTypes() {
return lazyPropertyTypes;
}
protected String[][] getLazyPropertyColumnAliases() {
return lazyPropertyColumnAliases;
}
public Object loadByUniqueKey(
String propertyName,
Object uniqueKey,