Dozer bidirectional mapping (String, String) with custom comverter impossible?
问题 I have a Dozer mapping with a custom converter: <mapping> <class-a>com.xyz.Customer</class-a> <class-b>com.xyz.CustomerDAO</class-b> <field custom-converter="com.xyz.DozerEmptyString2NullConverter"> <a>customerName</a> <b>customerName</b> </field> </mapping> And the converter: public class DozerEmptyString2NullConverter extends DozerConverter<String, String> { public DozerEmptyString2NullConverter() { super(String.class, String.class); } public String convertFrom(String source, String