HHH-10059 - Make EntityManagerFactoryBuilderImpl.populate methods protected
(cherry picked from commit dee80ab566
)
This commit is contained in:
parent
e76e027ccb
commit
84a42b1065
|
@ -598,7 +598,7 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
private List<AttributeConverterDefinition> populate(
|
protected List<AttributeConverterDefinition> populate(
|
||||||
MetadataSources metadataSources,
|
MetadataSources metadataSources,
|
||||||
MergedSettings mergedSettings,
|
MergedSettings mergedSettings,
|
||||||
StandardServiceRegistry ssr) {
|
StandardServiceRegistry ssr) {
|
||||||
|
@ -680,7 +680,7 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil
|
||||||
return attributeConverterDefinitions;
|
return attributeConverterDefinitions;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void populate(
|
protected void populate(
|
||||||
MetadataBuilder metamodelBuilder,
|
MetadataBuilder metamodelBuilder,
|
||||||
MergedSettings mergedSettings,
|
MergedSettings mergedSettings,
|
||||||
StandardServiceRegistry ssr,
|
StandardServiceRegistry ssr,
|
||||||
|
@ -816,7 +816,7 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void populate(SessionFactoryBuilder sfBuilder, StandardServiceRegistry ssr) {
|
protected void populate(SessionFactoryBuilder sfBuilder, StandardServiceRegistry ssr) {
|
||||||
final StrategySelector strategySelector = ssr.getService( StrategySelector.class );
|
final StrategySelector strategySelector = ssr.getService( StrategySelector.class );
|
||||||
|
|
||||||
// Locate and apply the requested SessionFactory-level interceptor (if one)
|
// Locate and apply the requested SessionFactory-level interceptor (if one)
|
||||||
|
|
Loading…
Reference in New Issue