标签:获取 new ati begin actor int builds action before
Configuration cfg = null;
SessionFactory factory = null;
Session session = null;
Transaction tx = null;
@Before
public void init(){
cfg = new Configuration().configure();
factory = cfg.buildSessionFactory();
session = factory.openSession();
tx = session.beginTransaction();
}
标签:获取 new ati begin actor int builds action before
原文地址:http://www.cnblogs.com/cz2012/p/5993256.html