diff --git a/hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java b/hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java index 2574dbe384..8ae2c7cbb9 100644 --- a/hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java +++ b/hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java @@ -598,7 +598,7 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil } @SuppressWarnings("unchecked") - private List populate( + protected List populate( MetadataSources metadataSources, MergedSettings mergedSettings, StandardServiceRegistry ssr) { @@ -680,7 +680,7 @@ public class EntityManagerFactoryBuilderImpl implements EntityManagerFactoryBuil return attributeConverterDefinitions; } - private void populate( + protected void populate( MetadataBuilder metamodelBuilder, MergedSettings mergedSettings, 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 ); // Locate and apply the requested SessionFactory-level interceptor (if one)