我的data.sql是 insert into person('id', 'name', 'age', 'blood_type') values (1, 'martin', 10, 'A'); 我的测试代码是name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure
这可能是一个非常简单的问题,但我尝试过搜索或谷歌,如何使它与空的data.sql文件一起工作,并且无法真正找到答案,当您启动您的springboot应用程序并且使用h2数据库时,除非您填充了该文件,否则它总是失败的org.springframework.jdbc.datasource.init.UncategorizedScriptException: Failed to execute database script from resource [URL ["pathTo"/data.sql