Bean Validation Custom Constraint – Java
In order to create a custom constraint for a bean validator, first you should declare an interface and decorate it with the following annotations: @Target = what it works on @Retention = must be runtime in order to work on runtime @Constraint = the custom validator (if you have createdContinue Reading

