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-27 02:40:32 -04:00
|
|
|
- [The DAO with Spring and Hibernate](http://www.baeldung.com/persistence-layer-with-spring-and-hibernate)
|
|
|
|
- [Simplify the DAO with Spring and Java Generics](https://www.baeldung.com/simplifying-the-data-access-layer-with-spring-and-java-generics)
|
2019-05-11 14:34:18 -04:00
|
|
|
- [Transactions with Spring and JPA](https://www.baeldung.com/transaction-configuration-with-jpa-and-spring)
|
2019-05-27 02:42:42 -04:00
|
|
|
- [Introduction to Spring Data JPA](http://www.baeldung.com/the-persistence-layer-with-spring-data-jpa)
|
2019-05-12 15:17:34 -04:00
|
|
|
- [Spring Data JPA @Query](http://www.baeldung.com/spring-data-jpa-query)
|
2019-05-16 14:45:09 -04:00
|
|
|
- [Spring JDBC](https://www.baeldung.com/spring-jdbc-jdbctemplate)
|
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
|
|
|
|
|