2020-08-30 09:59:35 -04:00
|
|
|
=========
|
|
|
|
|
|
|
|
## Spring Persistence Example Project
|
|
|
|
|
|
|
|
|
|
|
|
### Relevant Articles:
|
|
|
|
- [Transaction Propagation and Isolation in Spring @Transactional](https://www.baeldung.com/spring-transactional-propagation-isolation)
|
2020-09-05 08:59:15 -04:00
|
|
|
- [JTA Transaction with Spring](https://www.baeldung.com/spring-vs-jta-transactional)
|
2020-08-31 09:46:07 -04:00
|
|
|
- [Mock JNDI Datasource](https://www.baeldung.com/spring-mock-jndi-datasource)
|
2020-08-30 09:59:35 -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
|
|
|
|
|