2013-05-18 06:08:43 -04:00
|
|
|
|
=========
|
|
|
|
|
|
2013-07-14 07:03:04 -04:00
|
|
|
|
## Spring JPA Example Project
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Relevant Articles:
|
2013-05-31 16:18:53 -04:00
|
|
|
|
- [Spring 3 and JPA with Hibernate](http://www.baeldung.com/2011/12/13/the-persistence-layer-with-spring-3-1-and-jpa/)
|
2013-08-19 18:24:25 -04:00
|
|
|
|
- [Transactions with Spring 3 and JPA](http://www.baeldung.com/2011/12/26/transaction-configuration-with-jpa-and-spring-3-1/)
|
2014-03-20 15:59:42 -04:00
|
|
|
|
- [The DAO with JPA and Spring](http://www.baeldung.com/spring-dao-jpa)
|
2016-02-06 16:48:50 -05:00
|
|
|
|
- [JPA Pagination](http://www.baeldung.com/jpa-pagination)
|
2016-02-06 16:52:34 -05:00
|
|
|
|
- [Sorting with JPA](http://www.baeldung.com/jpa-sort)
|
2016-02-09 07:44:49 -05:00
|
|
|
|
- [Spring JPA – Multiple Databases](http://www.baeldung.com/spring-data-jpa-multiple-databases)
|
2016-10-04 04:59:44 -04:00
|
|
|
|
- [Hibernate Second-Level Cache](http://www.baeldung.com/hibernate-second-level-cache)
|
2016-10-04 05:32:01 -04:00
|
|
|
|
- [Spring, Hibernate and a JNDI Datasource](http://www.baeldung.com/spring-persistence-jpa-jndi-datasource)
|
2016-10-31 16:48:24 -04:00
|
|
|
|
|
2016-11-03 06:47:43 -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
|
|
|
|
|
|