摘要:
1 package cn.happy.test; 2 3 4 import org.hibernate.Session; 5 import org.hibernate.SessionFactory; 6 import org.hibernate.Transaction; 7 import org.hibernate.cfg.Configuration; 8 i... 阅读全文
摘要:
1 package cn.happy.util; 2 3 import org.hibernate.Session; 4 import org.hibernate.SessionFactory; 5 import org.hibernate.cfg.Configuration; 6 7 /** 8 * 1.1用于生产session对象的工具类 9 */ 10 pub... 阅读全文
摘要:
Student.hbm.xml小配置。 阅读全文