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-10-28 05:15:12 -04:00
|
|
|
- [Transactional Annotations: Spring vs. JTA](https://www.baeldung.com/spring-vs-jta-transactional)
|
2020-10-08 02:56:50 -04:00
|
|
|
- [Test a Mock JNDI Datasource with Spring](https://www.baeldung.com/spring-mock-jndi-datasource)
|
2020-10-20 23:23:19 -04:00
|
|
|
- [Detecting If a Spring Transaction Is Active](https://www.baeldung.com/spring-transaction-active)
|
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
|
|
|
|
|