I have an Spring Boot application integrated with Hibernate for the database persistence.
I have two different data.sql files:
- One in src/main/resources for database initialization
- One in src/test/resources for testing purposes
While testing, both of them are loaded before any test class. However, I only want to load the test/resources one, leaving the main/resources only and solely for app initialization.
How can I do that?
Thanks.