Rohit Parihar7 min read
@Transactional Is Lying to You: 7 Ways It Silently Does Nothing in Spring Boot
Here is a bug that turns up in a lot of Spring codebases. A method is annotated @Transactional. It saves an order, then charges a card. The charge fails. And the order is still in the database. Nobody removed the...
- Java
- Spring Boot
- +1 more
