Functional Spring Boot Transaction No magic! Run commands in translation explicitly transactionTemplate.execute(status -> { Message message = Message.of(msg); em.persist(message); return message; }); links: read more