Transaction Template Issues Demo
Setup
make sure your mysql 8 running at localhost:3306
Reproduce
drop database trx_issues;
- run maven test lifecycle
- open the console, we can see deadlock error in outputs
- take a look at
DemoService#demo()
to see why there shouldn't be a deadlock