Annotation Type UniqueEmailExclPrincipal
-
@Constraint(validatedBy=UniqueEmailExclPrincipalValidator.class) @Target(FIELD) @Retention(RUNTIME) public @interface UniqueEmailExclPrincipal
Annotation to check uniqueness of email except email of user that caused the check