2019-05-09 14:52:34 -04:00
|
|
|
=========
|
|
|
|
|
|
|
|
## Spring Persistence Example Project
|
|
|
|
|
|
|
|
|
|
|
|
### Relevant Articles:
|
|
|
|
- [A Guide to JPA with Spring](https://www.baeldung.com/the-persistence-layer-with-spring-and-jpa)
|
2019-05-10 15:03:30 -04:00
|
|
|
- [Bootstrapping Hibernate 5 with Spring](http://www.baeldung.com/hibernate-5-spring)
|
2019-05-11 05:06:36 -04:00
|
|
|
- [The DAO with Spring and Hibernate](http://www.baeldung.com/persistence-layer-with-spring-and-hibernate)
|
|
|
|
|
2019-05-09 14:52:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
### 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
|
|
|
|
|