title: How to avoid dozer mapping blank strings in spring boot java app?
body: <p>Consider the following xml dozer bean mapping below:</p>
  <pre class="lang-xml prettyprint-override"><code>   &lt;mapping map-null=&quot;false&quot; map-empty-string=&quot;false&quot;&gt;
          &lt;class-a&gt;com.example.howtodoinjava.dozer.models.Student&lt;/class-a&gt;
          &lt;class-b&gt;com.example.howtodoinjava.dozer.models.StudentVO&lt;/class-b&gt;
          &lt;field&gt;
              &lt;a&gt;batch&lt;/a&gt;
              &lt;b&gt;batchName&lt;/b&gt;
          &lt;/field&gt;
          &lt;field&gt;
              &lt;a&gt;address&lt;/a&gt;
              &lt;b&gt;homeAddress&lt;/b&gt;
          &lt;/field&gt;
      &lt;/mapping&gt;
  &lt;/mappings&gt;
  </code></pre>
  <p>In the above dozer xml mapping, how to avoid map <strong>batch</strong> to <strong>batchName</strong> when batch is <em><strong>blank</strong></em> (&quot;  &quot;)?</p>