标签:
hibernate3和4中 HibernateSessionFactory中不同之处
//serviceRegistry = new ServiceRegistryBuilder().applySettings(configuration.getProperties()).buildServiceRegistry();
新的写法
serviceRegistry = new ServiceRegistryBuilder().applySettings(configuration.getProperties()).buildServiceRegistry();
标签:
原文地址:http://www.cnblogs.com/shanheyongmu/p/5772433.html