74.8 Use a traditional persistence.xml
Spring doesn’t require the use of XML to configure the JPA provider, and Spring Boot assumes you want to take advantage of that feature. If you prefer to use persistence.xml
then you need to define your own @Bean
of type LocalEntityManagerFactoryBean
(with id ‘entityManagerFactory’, and set the persistence unit name there.
See JpaBaseConfiguration
for the default settings.