22 lines
1.1 KiB
Markdown
22 lines
1.1 KiB
Markdown
## Spring JPA (1)
|
|
|
|
### Relevant Articles:
|
|
- [The DAO with JPA and Spring](https://www.baeldung.com/spring-dao-jpa)
|
|
- [JPA Pagination](https://www.baeldung.com/jpa-pagination)
|
|
- [Sorting with JPA](https://www.baeldung.com/jpa-sort)
|
|
- [Self-Contained Testing Using an In-Memory Database](https://www.baeldung.com/spring-jpa-test-in-memory-database)
|
|
- [Obtaining Auto-generated Keys in Spring JDBC](https://www.baeldung.com/spring-jdbc-autogenerated-keys)
|
|
- [Spring Data Annotations](http://www.baeldung.com/spring-data-annotations)
|
|
- [A Guide to Spring AbstractRoutingDatasource](https://www.baeldung.com/spring-abstract-routing-data-source)
|
|
- More articles: [[next -->]](/spring-jpa-2)
|
|
|
|
### 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
|
|
|