I'm using Bean Validation to check constraints on my model, but I don't know how to configure it so it only validates when I want it to. I found on that I could put this tag in my persistence.xml
, <validation-mode>NONE</validation-mode>
but it doesn't work.
I appreciate any kind of help.
Aucun commentaire:
Enregistrer un commentaire