HHH-13725 - Implement ManyToOne associations support
This commit is contained in:
parent
86dee1f66c
commit
d2851888f9
|
@ -1148,8 +1148,6 @@ public class MappingModelCreationHelper {
|
||||||
dialect,
|
dialect,
|
||||||
creationProcess
|
creationProcess
|
||||||
);
|
);
|
||||||
// todo (6.0) : determine the correct FetchStrategy
|
|
||||||
|
|
||||||
|
|
||||||
final AssociationType type = (AssociationType) bootProperty.getType();
|
final AssociationType type = (AssociationType) bootProperty.getType();
|
||||||
final FetchStyle fetchStyle = FetchStrategyHelper
|
final FetchStyle fetchStyle = FetchStrategyHelper
|
||||||
|
@ -1159,10 +1157,7 @@ public class MappingModelCreationHelper {
|
||||||
sessionFactory
|
sessionFactory
|
||||||
);
|
);
|
||||||
|
|
||||||
final FetchTiming fetchTiming = FetchStrategyHelper.
|
final FetchTiming fetchTiming = FetchStrategyHelper.determineFetchTiming( fetchStyle, type, sessionFactory );
|
||||||
determineFetchTiming( fetchStyle, type,
|
|
||||||
sessionFactory
|
|
||||||
);
|
|
||||||
|
|
||||||
final FetchStrategy fetchStrategy = new FetchStrategy( fetchTiming, fetchStyle );
|
final FetchStrategy fetchStrategy = new FetchStrategy( fetchTiming, fetchStyle );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue