vendredi 6 septembre 2019

Test phantom-read and dirty-read in Springboot

Phantom-read and Dirty-read are one of the biggest pitfalls for beginners, however they can be managed by setting isolation-level of transactions.

you might argue that they can be controlled by spring-boot. so there is no need for a test. but as far as I know not all databases support isolation level. So, how we can simulate them in springboot's tests?

Aucun commentaire:

Enregistrer un commentaire