Add callback for modifying or inspecting LocalContainerEntityManagerFactoryBean

A callback is added in autoconfig, so that if users inject the EntityManagerFactoryBuilder
into their app and use it to create multiple EntityManagerFactories, they all get the
same deferred DDL behaviour. The deferred DDL can also be disabled by setting
spring.jpa.hibernate.deferDdl=true.

Fixes gh-894
This commit is contained in:
Dave Syer
2014-05-19 10:50:14 +01:00
parent f2e3d94fa1
commit a5543f18b9
8 changed files with 167 additions and 22 deletions

View File

@@ -78,7 +78,7 @@ class Person {
@Override
public String toString() {
return "Person [firstName=" + firstName + ", lastname=" + lastName
return "Person [firstName=" + firstName + ", lastName=" + lastName
+ "]";
}
}