最近在学习Hibernate, 单元测试需要使用@Before 初始化事务连接, @After 关闭事务连接.测试类编写如下 @Before public void init() { System.out.println("init"); } ...
確定! 回上一頁