3d4a179ca3
* Code samples for Simple Tagging with JPA * Fix pom relative path for spring-jpa |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
README.md | ||
pom.xml |
README.md
=========
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
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