2013-05-18 06:08:43 -04:00
|
|
|
=========
|
|
|
|
|
2013-07-14 07:03:04 -04:00
|
|
|
## Spring JPA Example Project
|
|
|
|
|
|
|
|
|
|
|
|
### Relevant Articles:
|
2019-02-15 16:15:28 -05:00
|
|
|
- [A Guide to JPA with Spring](https://www.baeldung.com/the-persistence-layer-with-spring-and-jpa)
|
|
|
|
- [Transactions with Spring and JPA](https://www.baeldung.com/transaction-configuration-with-jpa-and-spring)
|
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-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)
|
2017-01-08 02:25:59 -05:00
|
|
|
- [Deleting Objects with Hibernate](http://www.baeldung.com/delete-with-hibernate)
|
2017-03-27 09:46:04 -04:00
|
|
|
- [Self-Contained Testing Using an In-Memory Database](http://www.baeldung.com/spring-jpa-test-in-memory-database)
|
2017-12-12 01:32:35 -05:00
|
|
|
- [A Guide to Spring AbstractRoutingDatasource](http://www.baeldung.com/spring-abstract-routing-data-source)
|
2018-05-02 03:41:09 -04:00
|
|
|
- [A Guide to Hibernate with Spring 4](http://www.baeldung.com/the-persistence-layer-with-spring-and-jpa)
|
|
|
|
- [Obtaining Auto-generated Keys in Spring JDBC](http://www.baeldung.com/spring-jdbc-autogenerated-keys)
|
2018-05-03 09:44:44 -04:00
|
|
|
- [Transactions with Spring 4 and JPA](http://www.baeldung.com/transaction-configuration-with-jpa-and-spring)
|
2018-09-07 06:56:13 -04:00
|
|
|
- [Use Criteria Queries in a Spring Data Application](https://www.baeldung.com/spring-data-criteria-queries)
|
2018-12-06 12:27:24 -05:00
|
|
|
- [Many-To-Many Relationship in JPA](https://www.baeldung.com/jpa-many-to-many)
|
2016-10-31 16:48:24 -04:00
|
|
|
|
2019-02-15 16:15:28 -05: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
|
|
|
|
|