Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dozer: Mapping indexed properties.

 
Rajkamal Pillai
Ranch Hand
Posts: 445
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello,

I am using Dozer 5.3.2 and trying to map deep indexed properties. Testing shows that they are not being copied.

[A]


[B]


[C]


[dozer-mapping.xml]


[TestMapping]


When displaying the contents of the Destination object I do not get the correct contents and instead all elements contain default value, "0".
The documentation talks about mapping indexed properties and sample code snippet is similar.

What is wrong?

Cheers,
Raj.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic