I made a custom validation annotation for unique email (When user registers itself, program checks if email is already in database).
Everything works just fine, but when I need to modify user's info and not to create a new one I run into a problem that says "Email is already in use"
Can I somehow turn off only @UniqueEmail
validation(I need the others like email pattern and password validation)?
All validation annotations are in the same User bean.
Thank You.