2.2 KiB
2.2 KiB
=========
Spring JPA Example Project
Relevant Articles:
- Spring 3 and JPA with Hibernate
- Transactions with Spring 3 and JPA
- The DAO with JPA and Spring
- JPA Pagination
- Sorting with JPA
- Spring JPA – Multiple Databases
- Hibernate Second-Level Cache
- Spring, Hibernate and a JNDI Datasource
- Deleting Objects with Hibernate
- Self-Contained Testing Using an In-Memory Database
- Spring Data JPA – Adding a Method in All Repositories
- A Guide to Spring AbstractRoutingDatasource
- Advanced Tagging Implementation with JPA
- A Guide to Hibernate with Spring 4
- Testing REST with multiple MIME types
- Obtaining Auto-generated Keys in Spring JDBC
- Transactions with Spring 4 and JPA
- Spring Data JPA @Query
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