Update 67.6. Use a custom EntityManagerFactory.md

master
qibaoguang 2015-04-02 13:06:54 +08:00
parent a6b73553fd
commit b2035b5aec
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
### 67.6. 使用自定义的EntityManagerFactory
为了完全控制EntityManagerFactory的配置你需要添加一个名为`entityManagerFactory`的`@Bean`。Spring Boot自动配置会根据是否存在该类型的bean来关闭它的实体管理器entity manager