使用struts時,在使用entity1.entity2.id提交數據報錯no session錯誤.

一種方便的解決方式:ide

   把entity1關聯對象entity2的配置改成lazy="false"對象

相關文章
相關標籤/搜索