SyntaxFix
Write A Post
Hire A Developer
Questions
For those running JPA in Spring, from version 3.1 onwards, you can set packagesToScan property under LocalContainerEntityManagerFactoryBean and get rid of persistence.xml altogether.
packagesToScan
LocalContainerEntityManagerFactoryBean
Here's the low-down