D
I understand it is necessary to seek a validation of the login, but at the Hibernate Library and javax.validation, I did not find an annotations that might solve this situation.Of course, there is no such annotations, because in all annexes, different tables, fields and logic for their verification.Tell me, colleagues, is there a library that will help solve my problem, or is it necessary to ask for your own annotation that goes to the OBD system and checks whether there is a user with this key?Yeah, that's right.This is an example from my project: https://github.com/php-coder/mystamps/blob/e2fb2fec835d5f0f1a1e662b1e9783bc0286f961/src/main/java/ru/mystamps/web/validation/jsr303/UniqueLogin.java https://github.com/php-coder/mystamps/blob/e2fb2fec835d5f0f1a1e662b1e9783bc0286f961/src/main/java/ru/mystamps/web/validation/jsr303/UniqueLoginValidator.java https://github.com/php-coder/mystamps/blob/e2fb2fec835d5f0f1a1e662b1e9783bc0286f961/src/main/java/ru/mystamps/web/model/ActivateAccountForm.java#L70-L71