ITeye博客

Alpha's学习笔记

vking_wang · 共 16 篇文章

Hibernate.update()、merge()及引申

http://www.hibernate-training-guide.com/merge.html update()方法存在的问题: In session, Hibernate guarantees no two Persistent objects represent the same row. Again, this guarantee no longer holds with Detatched objects. In fact, this problem can create very unwanted consequences. Explore the code below. H…

2012-12-27 11:05 · 评论(0)