Deprecate EntityManagerFactoryBeanCallback

Closes gh-14083
This commit is contained in:
Stephane Nicoll
2018-08-20 14:54:32 +02:00
parent e034b383db
commit e03f01564a
2 changed files with 5 additions and 0 deletions

View File

@@ -116,6 +116,7 @@ public abstract class JpaBaseConfiguration implements BeanFactoryAware {
@Bean
@ConditionalOnMissingBean
@SuppressWarnings("deprecation")
public EntityManagerFactoryBuilder entityManagerFactoryBuilder(
JpaVendorAdapter jpaVendorAdapter,
ObjectProvider<PersistenceUnitManager> persistenceUnitManager) {
@@ -151,6 +152,7 @@ public abstract class JpaBaseConfiguration implements BeanFactoryAware {
protected void customizeVendorProperties(Map<String, Object> vendorProperties) {
}
@Deprecated
protected EntityManagerFactoryBuilder.EntityManagerFactoryBeanCallback getVendorCallback() {
return null;
}