Matching field names are automatically handled by Dozer.
Properties that are of the same name do not need to be specified in the mapping xml file.
We will start off simple. If you have two properties with different names they can be mapped as such:
<field>
<a>one</a>
<b>onePrime</b>
</field>
Data type coversion is performed automatically by the Dozer mapping engine. Currently, Dozer supports the following types of conversions: (these are all bi-directional)
Dozer supports full Class level mapping recursion. If you have any complex types defined as field level mappings in your object, Dozer will search the mappings file for a Class level mapping between the two Classes that you have mapped. If you do not have any mappings, it will only map fields that are of the same name between the complex types.