
[JPA] dataSourceScriptDatabaseInitializer 빈 생성 오류
2022. 11. 15. 17:51
스프링/JPA
강의듣다가 해당 오류 발생.. 공식 문서 내용 Hibernate and data.sql By default, data.sql scripts are now run before Hibernate is initialized. This aligns the behavior of basic script-based initialization with that of Flyway and Liquibase. If you want to use data.sql to populate a schema created by Hibernate, set spring.jpa.defer-datasource-initialization to true. While mixing database initialization technologies i..