* BAEL-1412 add java 8 spring data features * BAEL-21 new HTTP API overview * BAEL-21 fix executor * BAEL-1432 add custom gradle task * BAEL-1567 add samples of cookie and session in serlvet * BAEL-1567 use stream api * BAEL-1567 fix optional * BAEL-1679 add query annotation jpa spring data * BAEL-1679 added new junits * BAEL-1679 use assertJ, use givenWhenThen naming convention * BAEL-1679 move query annotation examples to persistence modules * BAEL-1679 fix formatting
=========
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
- [Advanced Tagging Implementation with JPA] (http://www.baeldung.com/jpa-tagging-advanced)
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