<bag name="reply" lazy="false" cascade="all">
<key column="Topic_Id" not-null = "true"></key>
<one-to-many class="Bean.Reply" />
</bag><many-to-one name="topic" column="Topic_Id" class="Bean.Topic" insert="false" update="false" lazy="false"/>从many端删除数据出错``deleted object would be re-saved by cascade (remove deleted object from associations)如果将many端中的lazy="false"去掉```两端删除都正确``但浏览many端时错误
could not initialize proxy - no Session!!谢谢
<key column="Topic_Id" not-null = "true"></key>
<one-to-many class="Bean.Reply" />
</bag><many-to-one name="topic" column="Topic_Id" class="Bean.Topic" insert="false" update="false" lazy="false"/>从many端删除数据出错``deleted object would be re-saved by cascade (remove deleted object from associations)如果将many端中的lazy="false"去掉```两端删除都正确``但浏览many端时错误
could not initialize proxy - no Session!!谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货