I use mysql and spring 5, spring-data-jpa and spring-boot and JUnit5.
This must be a common problem but I don't see te sollution. I have to test a repository with a user that has only Update rights in the databse, but to perform the test I hava a sql script to inbject re number of record to perform my test on. How do i add record to the database (mysql) with a user that has create rights an perform my repository tests with a user that has only update rights.
Kind Greetings, Frank