mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 12:14:47 +00:00
HHH-14048 Expose lazy property fetching to Hibernate reactive
This commit is contained in:
parent
946e867460
commit
3049c0fc8f
@ -1196,7 +1196,7 @@ protected Serializable getCollectionKey(
|
||||
}
|
||||
}
|
||||
|
||||
private Object initializeLazyPropertiesFromDatastore(
|
||||
protected Object initializeLazyPropertiesFromDatastore(
|
||||
final String fieldName,
|
||||
final Object entity,
|
||||
final SharedSessionContractImplementor session,
|
||||
@ -1308,7 +1308,7 @@ private Object initializeLazyPropertiesFromDatastore(
|
||||
}
|
||||
}
|
||||
|
||||
private Object initializeLazyPropertiesFromCache(
|
||||
protected Object initializeLazyPropertiesFromCache(
|
||||
final String fieldName,
|
||||
final Object entity,
|
||||
final SharedSessionContractImplementor session,
|
||||
@ -1346,7 +1346,7 @@ private Object initializeLazyPropertiesFromCache(
|
||||
return result;
|
||||
}
|
||||
|
||||
private boolean initializeLazyProperty(
|
||||
protected boolean initializeLazyProperty(
|
||||
final String fieldName,
|
||||
final Object entity,
|
||||
final SharedSessionContractImplementor session,
|
||||
@ -2409,6 +2409,22 @@ private void internalInitSubclassPropertyAliasesMap(String path, Iterator proper
|
||||
|
||||
}
|
||||
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user