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