title: Bean Validation + Resource Bundle ideas?
body: <p>Here is what i want to be able to do with bean validation in my JPA entities :</p>
  
  <ol>
  <li>Instead of <code>@NotNull</code>, i would like to do <code>@NotNull(message="keyInMyResourceBundleFile")</code></li>
  <li>I would like also to parameterize the resourceBundle, and i dont know the syntax for it, because it seems to me the message attribute contains only a string.</li>
  <li>The parameter itself could be i18n-ed. For example, assuming there's a param attribute for the resourcebundle parameters, in English, <code>@NotNull(message="missing.value", params={"credit card"}) String creditCard;</code> It will be displayed something like this : "Missing required value for field <strong>credit card</strong>. In Indonesia, it'll be something like "Nilai harus di isi untuk <strong>Kartu Kredit</strong>. In this example, i cant hardcode the "credit card" because in Indonesia, it's "Kartu Kredit"</li>
  <li>Displays the error message defined in the resource bundle on the log file or UI. Im not sure the way on how to do it, should i catch the <code>ConstraintViolationException</code>, get the message, and process the resource bundle by my own code ?</li>
  </ol>
  
  <p>Please share your thoughts on this ?</p>
  
  <p>Thank you !</p>