74.8 使用普通的persistence.xml

Spring不要求使用XML配置JPA提供者(provider),并且Spring Boot假定你想要充分利用该特性。如果你倾向于使用persistence.xml,那你需要定义你自己的id为entityManagerFactoryLocalEntityManagerFactoryBean类型的@Bean,并在那设置持久化单元的名称,默认设置可查看JpaBaseConfiguration