摘要:
在hibernate 删除关联时会出现eleted object would be re-saved by cascade (remove deleted object from associations)的异常,结合别人的和自己的经验通常有三种解决的方案: 方法1 删除Set方的cascade:方法2 解决关联关系后,再删除 onside.getManys().remove(thisMany);... 阅读全文
摘要:
在hibernate 删除关联时会出现eleted object would be re-saved by cascade (remove deleted object from associations)的异常,结合别人的和自己的经验通常有三种解决的方案: 方法1 删除Set方的cascade:方法2 解决关联关系后,再删除 onside.getManys().remove(thisMany);... 阅读全文
摘要:
<s:iterator value="users" id="user"> <li><s:property value="#user.getId()"/></li> <s:property value="#user.getName()"/> <s:property value="#user.getPassword()"/> <s:property value="#user.ge... 阅读全文
|