I\'m reading the book \"Professional Java for Web Applications - Nicholas S. Williams\" The book example has this configuration for Spring Data JPA:
@Bean
pu
If you want to configure Spring Data JPA by using XML configuration (and use the configuration described in the book), you have to follow these steps:
The application context configuration (applicationContext-persistence.xml) file looks as follows:
org.hibernate.dialect.MySQL5InnoDBDialect
none
true