public FormValidation validate() {
FormValidation superValidation = super.validate();
int minPoolSize = this.getUpdatedEntity().getMinPoolSize();
int maxPoolSize = this.getUpdatedEntity().getMaxPoolSize();
if(minPoolSize > maxPoolSize){
superValidation.addError("maxPoolSize");
maxCon.setErroneous(true);
maxCon.setErrMessage("Max Pool Size must be greater than Min Pool Size");
}
return superValidation;
}