摘要: public class Test01 { private ServiceRegistry sr =null; private Session se =null; private Transaction ts = null; private SessionFactory sf = null; //在测试用例方法被执行之前自动执行的方法 //一般用来初始化公用的对象 //前置方法 ... 阅读全文
posted @ 2016-11-08 19:45 琢磨先生 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2016-11-08 19:43 琢磨先生 阅读(205) 评论(0) 推荐(0) 编辑
AmazingCounters.com