摘要:
public class Test01 { private ServiceRegistry sr =null; private Session se =null; private Transaction ts = null; private SessionFactory sf = null; //在测试用例方法被执行之前自动执行的方法 //一般用来初始化公用的对象 //前置方法 ... 阅读全文
摘要:
package com.hanqi.test; import static org.junit.Assert.*; import java.util.Date; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.hib... 阅读全文