<div dir="ltr">Hello,<div><br></div><div>Sorry if this is the wrong place to post this.</div><div><br></div><div>I&#39;m developing a JAX-RS webservice endpoint, and I&#39;m using BeanValidation to validate a bean sent as a method parameter to a POST method, like this:</div><div><br></div><div>@POST<br></div><div>public void save(@NotNull @Valid Customer customer) {</div><div>    // ... more code ....</div><div>}</div><div><br></div><div>Then I noticed a custom constraint I created was being executed twice within that bean.</div><div><br></div><div>Is this the default behavior?</div><div><br></div><div>Can constraints be executed more than once?</div><div><br></div><div>INFO: I&#39;m using BeanValidation 2.0 with WildFly 16.</div><div><br></div><div>Thanks a lot.</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif">Atenciosamente,<br><br></span><span style="font-family:arial,helvetica,sans-serif">Juliano Marques</span><span style="font-family:arial,helvetica,sans-serif"><br><br></span><span style="font-family:arial,helvetica,sans-serif"></span></div></div></div></div></div></div></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
        <tr>
      <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Livre de vírus. <a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>.                 </td>
        </tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>