Dozer mapping JodaTime property not working as expected

后端 未结 5 1800
野性不改
野性不改 2021-02-19 14:05

I am using Dozer to map between a Document class to DocumentManagementBean class, both of my own making. Both have a property, with getters and setters, of Joda DateTime type, c

5条回答
  •  醉酒成梦
    2021-02-19 14:40

    I think the root cause is that DateTime is immutable, so the deep copy cannot be done (see https://github.com/DozerMapper/dozer/issues/216).

    That's why you have to use a converter or copy it by reference.

提交回复
热议问题