HHH-14048 Expose lazy property fetching to Hibernate reactive
This commit is contained in:
parent
946e867460
commit
3049c0fc8f
|
@ -1196,7 +1196,7 @@ public abstract class AbstractEntityPersister
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private Object initializeLazyPropertiesFromDatastore(
|
protected Object initializeLazyPropertiesFromDatastore(
|
||||||
final String fieldName,
|
final String fieldName,
|
||||||
final Object entity,
|
final Object entity,
|
||||||
final SharedSessionContractImplementor session,
|
final SharedSessionContractImplementor session,
|
||||||
|
@ -1308,7 +1308,7 @@ public abstract class AbstractEntityPersister
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private Object initializeLazyPropertiesFromCache(
|
protected Object initializeLazyPropertiesFromCache(
|
||||||
final String fieldName,
|
final String fieldName,
|
||||||
final Object entity,
|
final Object entity,
|
||||||
final SharedSessionContractImplementor session,
|
final SharedSessionContractImplementor session,
|
||||||
|
@ -1346,7 +1346,7 @@ public abstract class AbstractEntityPersister
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean initializeLazyProperty(
|
protected boolean initializeLazyProperty(
|
||||||
final String fieldName,
|
final String fieldName,
|
||||||
final Object entity,
|
final Object entity,
|
||||||
final SharedSessionContractImplementor session,
|
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(
|
public Object loadByUniqueKey(
|
||||||
String propertyName,
|
String propertyName,
|
||||||
Object uniqueKey,
|
Object uniqueKey,
|
||||||
|
|
Loading…
Reference in New Issue