• 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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!