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