package com.ankurm.tx; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * Companion application for the ankurm.com article * "@Transactional in Spring: Propagation, Isolation, and the Six Ways It Silently Does Nothing". * *

Every claim in that article is produced by running something here. The propagation * matrix comes from {@code /tx/propagation}, which calls each of the seven propagation values * from inside an outer transaction and reports what the transaction manager actually did; the * failure gallery comes from {@code /tx/silent}, which runs six pieces of code that look * transactional and are not. */ @SpringBootApplication public class TransactionsApplication { public static void main(String[] args) { SpringApplication.run(TransactionsApplication.class, args); } }