Spring Boot uses JSR303 to implement parameter validation
The article begins with the official account of "Guo Guo Guo".
Address: http://blog.itwolfed.com/blog/97
brief introduction
JSR-303 is a sub specification of JAVA EE 6, called Bean Validation.
At any time, when you want to deal with the business logic of an application, data validation is something you must consider and face. The ap ...
Posted on Mon, 18 May 2020 23:42:45 -0400 by TobesC
JSR 303 background data verification
1, JSR 303
1. What is JSR 303?
JSR is the abbreviation of Java Specification Requests, namely Java specification proposal.There are all kinds of JSR, which is simply understood as a Java standard.JSR 303 is a standard for data verification (Bean Validation (JSR 303)).reference resources: https://www.jianshu.com/p/554533f88370
2. Why JSR 303? ...
Posted on Tue, 28 Apr 2020 11:34:38 -0400 by noodle
Spring custom verification
Reference material
JSR303, 349 -Bean Validation data validation specification instructions and validation process source code analysisSpring global exception handling
Matters needing attention
Use Java JSR303, 349 Bean Validation data validation specification to do data validation reference: JSR303 ...
Posted on Mon, 20 Jan 2020 02:47:33 -0500 by perrij3
Spring boot and tomcat jar package conflict
problem
Starting springboot project with external tomcat failed with error:
ERROR: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManager' defined in com.zgglyun.dfdts.config.manager.AppConfig: Invocation of init method failed; nested exception is javax.persistence.Per ...
Posted on Thu, 28 Nov 2019 04:54:58 -0500 by Bizzle
Let Controller support @Valid data validation for tiling parameters
Every sentence
> At the top of the pyramid is practice, learning without thinking is useless and thinking without learning is perilous (many programming frameworks now teach you fragmented practice only).
Relevant Reading
[Xiaojia Java] Deep understanding of data validation: Java Bean Validation 2.0 (JSR303, JSR349, JSR380) Hibernate-Validat ...
Posted on Tue, 30 Jul 2019 12:00:00 -0400 by THW
Explain Spring's core API for data validation support: Smart Validator
Every sentence
To be rich, build roads first. In order to use it, first of all, the foundation needs to be built, and the technology must not be built in the air.
Relevant Reading
[Xiaojia Java] Deep understanding of data validation: Java Bean Validation 2.0 (JSR303, JSR349, JSR380) Hibernate-Validation 6.x use caseKnow more about Bean Validati ...
Posted on Fri, 26 Jul 2019 03:30:37 -0400 by uproa
Deep understanding of data validation: Bean Validation 2.0 (JSR380)
Every sentence
> My emperor does not retire from military service every day, and so on are all ministers.
Interested in Spring, Scannable Code joins the wx group: `Java Senior Engineer, Architect 3 groups'(there are two-dimensional codes at the end of the article)
Preface
Data validation has been mentioned many times in previous articles ab ...
Posted on Sun, 21 Jul 2019 08:45:33 -0400 by rednax