Dozer mapping JodaTime property not working as expected

后端 未结 5 1801
野性不改
野性不改 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:41

    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

提交回复
热议问题