1.3 KiB
1.3 KiB
=========
Spring JPA Example Project
Relevant Articles:
- The DAO with JPA and Spring
- JPA Pagination
- Sorting with JPA
- Self-Contained Testing Using an In-Memory Database
- A Guide to Spring AbstractRoutingDatasource
- Obtaining Auto-generated Keys in Spring JDBC
- Transactions with Spring and JPA
- Use Criteria Queries in a Spring Data Application
- Many-To-Many Relationship in JPA
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