javax @NotEmpty does not affect validation
I have this simple class:
Conditionally skip validations in the current and nested objects
I have a Request object like this:
How to accept an annotation as an argument inside another annotation?
I want to create a validation annotation which will validate one or more fields if another field is not empty i.e dependent validations.
How can i use different type of validation when i implement same interfaces
I want to create base crud service interface and implement all other classes from this class. I can apply different method or parameter validation in every service but i do not redefine the parameter constraint. How can i do it, i do not want to achive it with aspect.