当我填写属性date_declined的值时,我在不相关的属性上得到以下错误。
Application Execution Exception
Error Type: org.hibernate.LazyInitializationException : [N/A]
Error Messages: failed to lazily initialize a collection of role: blm_doc.blm_doc_cases, no session or session was closed
答案 0 :(得分:0)
属性定义中缺少ormtype = date。
property name="declined_date"
column="DECLINED_DATE"
sqltype="DATE"
ormtype="date";