当前位置: 代码迷 >> 综合 >> unable to evaluate the expression Method threw ‘org.hibernate.LazyInitializa错误
  详细解决方案

unable to evaluate the expression Method threw ‘org.hibernate.LazyInitializa错误

热度:64   发布时间:2023-12-28 04:15:40.0

在实体类中单向多对多中出现错误

unable to evaluate the expression Method threw 'org.hibernate.LazyInitializa

解决方法:

@ManyToMany(fetch = FetchType.EAGER)
  相关解决方案