I recently wanted to see exactly what SQL statements were being executed by
Hibernate/JPA. In this post, I show a simple solution using built-in
capabilities in the MySQL JDBC driver.
Concurrency is hard to get right, and unfortunately it is hard to test as well.
In this article, we show how to use the ruby gem
fork_break to manually set breakpoints
within tests which allows us to verify concurrent behaviour.