VIRGIN FOREST OF JAVA
不要埋头苦干,要学习,学习,再学习。。。。。
powered by R.Zeus

when store or delete an 'one-to-many' object to database,it aways update the 'set' defined part.
It is wait time in store process and will be error in delete.
it is to avoid by set the "inverse = true" .
 
I will test affect in 'find' and 'update' process.

'find' and 'update' don't have any infection with or without 'inverse=true'.

the 'inverse' default  set to 'false';

posted on 2006-10-25 14:23 R.Zeus 阅读(374) 评论(0)  编辑  收藏 所属分类: Hibernate

只有注册用户登录后才能发表评论。


网站导航: