Spring Boot and database testing: production defects

Sometimes you need to fix a production defect. To do it, you need to mirror a specific set of data, and do a test to proof the bug and then fix it.

Luckily, SpringBoot provide the @Sql annotation to easily “pump” data.

The tools provided are quite deep, and you can read about them in the full manual

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.