Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daggerok/functional-spring-boot-transaction
No magic! Run commands in translation explicitly
https://github.com/daggerok/functional-spring-boot-transaction
spring-boot spring-mvc spring-tx
Last synced: 29 days ago
JSON representation
No magic! Run commands in translation explicitly
- Host: GitHub
- URL: https://github.com/daggerok/functional-spring-boot-transaction
- Owner: daggerok
- Created: 2019-03-15T22:28:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-15T22:44:44.000Z (almost 6 years ago)
- Last Synced: 2024-11-11T15:39:58.764Z (3 months ago)
- Topics: spring-boot, spring-mvc, spring-tx
- Language: Java
- Size: 50.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Functional Spring Boot Transaction
No magic! Run commands in translation explicitly```java
transactionTemplate.execute(status -> {
Message message = Message.of(msg);
em.persist(message);
return message;
});
```links:
- [read more](https://docs.spring.io/spring/docs/current/spring-framework-reference/data-access.html#tx-prog-template-settings)