Spring + JUnit + H2 + JPA : Is it possible to drop-create the database for every test?

前端 未结 3 1104
孤独总比滥情好
孤独总比滥情好 2021-01-04 23:46

To keep the independency between the JUnit tests, I need to create the database at the beginning of every test, and destroy it at the end of every test.

The database

3条回答
提交回复
热议问题