摘要: 假设某 POJO 有属性如下: private Set users = new HashSet(0); @OneToMany(fetch = FetchType.LAZY, mappedBy = "xuser") public Set getUsers() { return this.users; } 如果我们使用jackson将其序列化,运行时会报错: failed to lazil... 阅读全文
posted @ 2016-01-10 04:41 Gugia桑 阅读(2609) 评论(0) 推荐(0) 编辑