HHH-13725 - Implement ManyToOne associations support

This commit is contained in:
Andrea Boriero 2019-11-14 10:52:01 +00:00 committed by Steve Ebersole
parent 86dee1f66c
commit d2851888f9
1 changed files with 1 additions and 6 deletions

View File

@ -1148,8 +1148,6 @@ public class MappingModelCreationHelper {
dialect,
creationProcess
);
// todo (6.0) : determine the correct FetchStrategy
final AssociationType type = (AssociationType) bootProperty.getType();
final FetchStyle fetchStyle = FetchStrategyHelper
@ -1159,10 +1157,7 @@ public class MappingModelCreationHelper {
sessionFactory
);
final FetchTiming fetchTiming = FetchStrategyHelper.
determineFetchTiming( fetchStyle, type,
sessionFactory
);
final FetchTiming fetchTiming = FetchStrategyHelper.determineFetchTiming( fetchStyle, type, sessionFactory );
final FetchStrategy fetchStrategy = new FetchStrategy( fetchTiming, fetchStyle );