What is required to get this annotation working on ee5.
Have included main hibernate jars and required dependants.
However valuation does not get called.
Have put annotation on interface and implementation both cases don't work.
In DTO parameter in ejb method annotated with Valid.
DTO getter method annotated with NotEmpty.
Container being used is WebLogic 10.3.6.
DTO
Code:
@NotEmpty
public String getMsisdn() {
return mMsisdn;
}
EJB
Code:
@Stateless(name = "ValidationTest")
@ValidateOnExecution(type = ExecutableType.IMPLICIT)
public class ValidationTestBean implements ValidationTestLocal {
public BooleanOutDTO isSubscriberActive(@Valid IsSubscriberActiveInDTO pInDTO) {
return new BooleanOutDTO(true);
}
}