Simple use of Lombok in Mybatis basic learning

preface: Hello, guys, I'm running snail rz. Of course, you can call me snail Jun. I'm a rookie who has studied Java for more than half a year. At the same time, I also have a great dream, that is, to become an excellent Java Architect one day. This Mybatis basic learning series is used to record the whole process of learning the basic ...

Posted on Fri, 05 Nov 2021 15:01:05 -0400 by law

@The difference between Valid and @ Validated is contact

@Valid Function: it is used to verify whether the annotation meets the requirements. It is directly added before the variable user, and the requirement of adding verification information to the variable. When it does not meet the requirements, the error prompt message of message will be returned in the method. Usage: public Object valid(@Vali ...

Posted on Wed, 22 Sep 2021 01:23:02 -0400 by uglyrat