What are fixtures? Fixed data that is always present in the database. You can think of it as the initial dataset. application.properties
|
1 2 3 4 5 6 |
spring.jpa.hibernate.ddl-auto=create spring.jpa.generate-ddl=true spring.jpa.open-in-view=false spring.sql.init.mode=always spring.sql.init.data-locations=classpath:db/data.sql spring.jpa.defer-datasource-initialization=true |
The documentation speaks of “the root classpath”, not knowing Java well I had no idea what that means and an answer on Stackoverflow was of course wrong. It’s not the “src” dir, […]