使用H2内存数据库完成测试后,我收到错误消息:
10:23:43.566 [main] INFO o.s.s.c.ThreadPoolTaskExecutor - Shutting down ExecutorService 'applicationTaskExecutor'
10:23:43.573 [main] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
10:23:43.580 [main] ERROR o.h.t.s.i.SchemaDropperImpl$DelayedDropActionImpl - HHH000478: Unsuccessful:
drop table cup_orchestrator.cup_orchestrator.country if exists
10:23:43.581 [main] ERROR o.h.t.s.i.SchemaDropperImpl$DelayedDropActionImpl - HHH000478: Unsuccessful:
drop table cup_orchestrator.cup_orchestrator.cpo_cycle_type if exists
似乎休眠试图删除一个表并且不能,但是创建该表是因为 测试使用此表。