title: Using @BindingResult with @Validated
body: <p><strong>Note:</strong>
  I read almost all stack post that i get when i search <a href="https://www.google.com/search?q=%40valid%20vs%20%40validated&amp;rlz=1C1GCEA_enUS841US841&amp;oq=%40Valid%20&amp;aqs=chrome.2.69i57j0l2j69i61l3.4375j0j4&amp;sourceid=chrome&amp;ie=UTF-8&amp;safe=active&amp;ssui=on" rel="nofollow noreferrer">@valid vs @validated</a> and could not find answer so i am posting this. </p>
  
  <p>I am so confused what <code>@Validated</code> is doing here. If <code>inputParms</code> is not valid, it is throwing <code>javax.validation.ConstraintViolationException</code> and not even going inside code. But if I replace <code>@Validated</code> with <code>@Valid</code> No exception thrown and <code>bindingResult.hasErrors()</code> is catching it.</p>
  
  <pre><code>@RestController
  @Validated // what is this doing ??
  public class MyRestController{
      @PostMapping(value="/my-data",produces= {MediaType.APPLICATION_JSON_UTF8_VALUE})
      public ResponseEntity&lt;?&gt; doSomething(@Valid @RequestBody MyInputParam inputParms,BindingResult bindingResult){
          if(bindingResult.hasErrors()) {
              //do something here
          }
      }
  }
  </code></pre>
  
  <p>So if i use <code>@Validated</code>,  <code>BindingResult</code> is not useful at all ?
  Or even simply how <code>@Validated</code> is different from <code>@Valid</code></p>