Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)