Strange Jackson exception being thrown when serializing Hibernate object

前端 未结 15 2779
离开以前
离开以前 2020-11-29 18:12

Jackson is throwing a weird exception that I don\'t know how to fix. I\'m using Spring, Hibernate and Jackson.

I have already considered that lazy-loading is causing

15条回答
  •  臣服心动
    2020-11-29 18:48

    Also you can make your domain object Director final. It is not perfect solution but it prevent creating proxy-subclass of you domain class.

提交回复
热议问题