Dozer mapping JodaTime property not working as expected

后端 未结 5 2306
太阳男子
太阳男子 2021-02-19 14:03

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:17

    You probably don't need it anymore, but Dozer provides the chance to copy an object by reference, at least with the latest version (now, this version is 5.4.0). Copying by reference is what you are looking for.

    
      copyByReference
      copyByReferencePrime
    
    

    Documentation: http://dozer.sourceforge.net/documentation/copybyreference.html

提交回复
热议问题