From b2035b5aecdf33f592c2f0529bac090b1b9c19db Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Thu, 2 Apr 2015 13:06:54 +0800 Subject: [PATCH] Update 67.6. Use a custom EntityManagerFactory.md --- IX. ‘How-to’ guides/67.6. Use a custom EntityManagerFactory.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IX. ‘How-to’ guides/67.6. Use a custom EntityManagerFactory.md b/IX. ‘How-to’ guides/67.6. Use a custom EntityManagerFactory.md index e69de29..f5626e8 100644 --- a/IX. ‘How-to’ guides/67.6. Use a custom EntityManagerFactory.md +++ b/IX. ‘How-to’ guides/67.6. Use a custom EntityManagerFactory.md @@ -0,0 +1,3 @@ +### 67.6. 使用自定义的EntityManagerFactory + +为了完全控制EntityManagerFactory的配置,你需要添加一个名为`entityManagerFactory`的`@Bean`。Spring Boot自动配置会根据是否存在该类型的bean来关闭它的实体管理器(entity manager)。