摘要: hibernate版本:3.3使用hibernate插入数据后,show_sql能打印出sql语句出来也没有显示什么异常,但是在数据库中没有记录在hibernate.cfg.xml添加下面的语句后,问题解决。<property name="connection.autocommit">true</property> 阅读全文
posted @ 2013-01-17 10:14 Catcher_8 阅读(490) 评论(0) 推荐(0) 编辑