最近学习hibernate使用junit5进行测试@Before 初始化事务连接, @After 关闭事务连接. 测试类如下: @BeforeEach public void init() { System.out.println(“init”); }
確定! 回上一頁