关于hibernate事务的一个问题,小弟在使用hibernate的时候(hibernate3.x)用session的saveOrupdate()方法,没有用 TransCation的 commit 方法 可是数据还是自动的提交到数据库中我在hibernate的配置文件中已经设置了
<property name="hibernate.connection.autocommit">false</property> 可是还是没有作用,请教高人教教小弟。
评论
发表评论

该博客是同时发布到论坛的,无法评论在论坛已被锁定的帖子

fx19800215
搜索本博客
存档
最新评论