847d6ab042
* update dependency versions to latest * merge repository packages * remove obselete xml configuration * fix formatting * clean up * update package name * revert spring data jpa xml config and demonstrate how to import in PersistenceConfig by a commented @ImportResource annotation * rename jpa repositories xml to make it more clear * remove obselete @EnableJpaRepositories configs since we don't use spring data's jpa repositories for these congigurations |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
README.md | ||
pom.xml |
README.md
=========
Spring Persistence Example Project
Relevant Articles:
- A Guide to JPA with Spring
- Bootstrapping Hibernate 5 with Spring
- The DAO with Spring and Hibernate
- Simplify the DAO with Spring and Java Generics
- Transactions with Spring and JPA
- Introduction to Spring Data JPA
- Spring Data JPA @Query
- Spring JDBC
- Transaction Propagation and Isolation in Spring @Transactional
Eclipse Config
After importing the project into Eclipse, you may see the following error:
"No persistence xml file found in project"
This can be ignored:
- Project -> Properties -> Java Persistance -> JPA -> Error/Warnings -> Select Ignore on "No persistence xml file found in project" Or:
- Eclipse -> Preferences - Validation - disable the "Build" execution of the JPA Validator