hibernate中session增删改操作及事务提交的问题
一、问题回顾
Session session = MySessionFactory.getSession();
// Transaction tx = null;
// try{
// String hql="delete form td_report where ID=1" ;
// tx = session.beginTransaction();
// Connection...
原创
2018-12-11 15:45:47 ·
1674 阅读 ·
0 评论