We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
原文:“JSR(Java Specification Requests) 是一套 JavaBean 参数校验的标准,它定义了很多常用的校验注解,我们可以直接将这些注解加在我们 JavaBean 的属性上面,这样就可以在需要校验的时候进行校验了,非常方便!”,出处是“Spring&SpringBoot常用注解总结”
错误:JSR并不是JavaBean参数校验的标准,建议改成“JSR 380(Bean Validation 2.0) 是一套用于 JavaBean 参数校验的标准”或类似的描述。
The text was updated successfully, but these errors were encountered:
JSR并不是JavaBean参数校验的标准
感谢指出,这样修改会不会更清晰一些:
Bean Validation 是一套定义 JavaBean 参数校验标准的规范 (JSR 303, 349, 380),它提供了一系列注解,可以直接用于 JavaBean 的属性上,从而实现便捷的参数校验。
@NotNull
@Size
@Min
@Max
java.time
@NotEmpty
@NotBlank
Sorry, something went wrong.
No branches or pull requests
原文:“JSR(Java Specification Requests) 是一套 JavaBean 参数校验的标准,它定义了很多常用的校验注解,我们可以直接将这些注解加在我们 JavaBean 的属性上面,这样就可以在需要校验的时候进行校验了,非常方便!”,出处是“Spring&SpringBoot常用注解总结”
错误:JSR并不是JavaBean参数校验的标准,建议改成“JSR 380(Bean Validation 2.0) 是一套用于 JavaBean 参数校验的标准”或类似的描述。
The text was updated successfully, but these errors were encountered: