I have been diligently following all your KZbin playlists, and I want to express my sincere gratitude for sharing such valuable knowledge with the community. I kindly request you to consider creating an Angular frontend for this series as it would greatly enhance the learning experience. Thank you for your continued dedication and expertise.
@artidhole72 жыл бұрын
I follow your all KZbin-Playlists, thank you so much for sharing such valuable knowledge with us. requesting you to please make Angular Frontend for this series...
@1MinAshRecipe2 жыл бұрын
Best Best teacher ever
@samnayakawadi2 жыл бұрын
Thanks! I Worked Like a Charm!!! LCWD Always Rocks!!! 🤠
@jasper50162 жыл бұрын
Bhai thanks so much. I have been coding for so long but learned a lot from you.
@rakeshsahoo25092 жыл бұрын
great explanation, you are god to poor people.
@satyamgarg42822 жыл бұрын
sir in my case validation is not working i don't know if i am adding the data so data is adding without any error
@rickyinsane37447 ай бұрын
So did you get the solution?
@sushantshrivastava349623 күн бұрын
Refresh maven setup
@GauravSingh-bu9xt2 жыл бұрын
Sir Please use React as frontend
@adityajaiswal56036 ай бұрын
Best one
@athul03 Жыл бұрын
24:59 I cannot see the trace details there. I only have timestamp, status, error and path NOT trace. why is that?
@siddharthsrivastava4491 Жыл бұрын
Thank you so much bhai!!! It was very helpful. Following your series.
@puneetshrivastava80322 жыл бұрын
Brilliant Explanation 😊
@yashsolanki23576 ай бұрын
Thanks sir this video is very helpFull for me
@dnyaneshwarbandgar53382 жыл бұрын
Great sir.....👌👌
@Abdulkhaliq-sx8ft2 жыл бұрын
sir my validation is not workiing
@dharmendragangwal-cv1yd Жыл бұрын
bas yese kam karte rahiye sir pese balo ki dukan band hone me samaye nahi thanks u valuable knowledge for me ✅✅✅✅✅✅❤❤❤❤
@rahul-java-dev2 жыл бұрын
Thank you Sir...🙏🙏🔥🔥
@feezankhattak15732 жыл бұрын
good one, but how can we access our request body in the rest controller advice. I want some operation on it and merge it in the error response. Thanks :)
@arkaroymandal95552 жыл бұрын
Can anyone help me my validation is not working
@rahulgaba81532 жыл бұрын
Really appreciated, kindly use Angular for frontend..
@paulsnehasish58302 жыл бұрын
sir, when we created User entity we annotated the fields with @Column(nullable=false)...why is hibernate letting null values be inserted in database...why do we need to validate again the Dto objects?
@mahimatolani813 Жыл бұрын
Because UserDto is interacting with our user not the User Entity is directly in interaction
@kanishkasrivastava Жыл бұрын
same problem
@kanishkasrivastava Жыл бұрын
its happening only with this project in other projects from other videos its not entering null entries
28:14 how exactly did you implement the check to display the "user not found" message?
@dhanunjaya_07 Жыл бұрын
watch the previous videos in this playlist. it is explained there.
@pankajverma2393Ай бұрын
Hi Durgesh, I'm consuming an external API response in my spring boot application. Should i use bean validation for the Response DTO that will map the json response? Is it a good programming practice ?
@Md.Naser-Bin-Hossain11 ай бұрын
Thank You sir for your valuable lectures and guidelines . By following the guidelines I am able to know the spring boot api concepts. Unfortunately, I am facing a problem in database when ever I change any portion in my code the Id of the database value changed by default 50 gave not in sequential like-1,2,3. Even I deleted the id sequence is still same as before. How can I generated the id sequential even the id is deleted. If you know me that will be very efficient for me.
@BGMICLASHES5 ай бұрын
Truncate the table after u are done with all. The changes in the code and then go on inserting the data the id will be in sequential manner
@akshayengineer20182 жыл бұрын
Awesome ...
@Vithal_Nivargi2 жыл бұрын
Thank-you, I would request pls add in next video -if we have alredy data exist in DB after that, still if we want to insert same data it in db, it should not create another id . our require is duplicate date should be update only, instead of creating new row....
@026_arhmarehman8 Жыл бұрын
Please make the frontend with angular.
@sukanyasinha35832 жыл бұрын
@Email is not handling empty string validation
@choudhurydailyhunt Жыл бұрын
Kindly give complete junit test video of the project
@aman77032 жыл бұрын
Sir I have done all the steps you told but @valid isn't working for me I have tried everything thing possible could you please guide
@sangeetakumari14682 жыл бұрын
getBindingResult() is not getting shown in the option.do we need to add some extra dependency?I am using 1.8 java,if anyone knows kindly let me know
@hardikshettigar805 Жыл бұрын
did u solve it
@Satya_7208 ай бұрын
Can u please tell me how to display this errors in angular
@mayankrajput54589 ай бұрын
@Pattern with Regex expression is not working
@prernavishwakarma9322 жыл бұрын
Hii sir , please is controller ko hum junit se test cases ko pass kaise kr skte hy ?. Ispe ek video banaiye issi project ko lekr sir...please
@anandhalder70892 жыл бұрын
having password in the userDto is ok ? becuase we are saving the same dto is orther models too ..
@swapnilkhot85402 жыл бұрын
Sir any documentation for javax validations
@rishabhgupta88142 жыл бұрын
Please also teach us to how to apply otp validation in developed project.
@AmanRajCSE--2 жыл бұрын
My validation is not working with DTO classes but it is working fine with Entity class
@gowthamonika Жыл бұрын
in method argument
@saurabhkumarjha23704 ай бұрын
I am doing all of this validation is working but while implementing the code for custom error response its not working as I want the response/ If anyone has done this then please help me with this.
@cyberverz Жыл бұрын
how would you differ same exception from ConstraintViolationException ?
@kumarisneha9392 Жыл бұрын
Hey have you created this whole projects?
@cyberverz Жыл бұрын
@@kumarisneha9392 nope
@seraj_valley2 жыл бұрын
NotNull Not working, Use NotEmpty
@saiabhi3136 Жыл бұрын
Thankyou so much
@seraj_valley Жыл бұрын
@@saiabhi3136 welcome
@ripusudansoni33662 жыл бұрын
sir logger bhi use kijiye na please debug karne me help karta h
@luckyrai54352 жыл бұрын
Abhi ye beginners ke liye to jyada important nhi hai
@ripusudansoni33662 жыл бұрын
@@luckyrai5435 hai bhai logger koi advance topic nhi h
@ashwinkumar43882 жыл бұрын
Make Course On Java/Jakarta Enterprise Edition
@subhasishchoudhury2686 Жыл бұрын
is it possible to validate the email for unique value with all the other emails present in our database ? and then return a error message with email id already exists.
@kumarisneha9392 Жыл бұрын
Have you created this project can you help me ?
@ayushgupta-iz7cj Жыл бұрын
sir please create a video on JPA batches too for inserting multiple rows at once, as it would really help and it is the common question in interviews too
@kumarisneha9392 Жыл бұрын
Hey have you created this whole project?? Can u help me ?
@chandrashekharan450310 ай бұрын
Hi Sir, I getting error while adding MethodArgumentNotValidException Getting Ambiguous @ExceptionHandler method mapped for MethodArgumentNotValidException while startup of spring boot application Please let us know how we fixed this issue
@bhumikalalchandani3212 жыл бұрын
By default the ids are generated from 20, 21 ....so on in my project
@aq6025 Жыл бұрын
I am using @pattern and have to fetch regex and message from properties file how it can be implemented?
@kumarisneha9392 Жыл бұрын
Hey did you create this project can you help me ?
@gowthamonika Жыл бұрын
@@kumarisneha9392 ok
@adityashrivastava19152 жыл бұрын
validations not working for me, is anyone else facing this ....can someone please help me
@paulsnehasish58302 жыл бұрын
same here
@adityashrivastava19152 жыл бұрын
@paul it got resolved i missed creating method for validation in global exception
@paulsnehasish58302 жыл бұрын
@@adityashrivastava1915 it doesnt matter whether you create the exception catching method in global exception handlers or not...Postman should show the generated exception thrown in json format anyways
@adityashrivastava19152 жыл бұрын
@@paulsnehasish5830 i agree even i was thinking it should throw the execption in postman and at console but not sure what the prob was and i verified rest of the code is same
@lordgreat60512 жыл бұрын
notnull isnt working but notempty is working fine
@madhutirkey8342 жыл бұрын
How to apply validation in @PathVariable Sir please make one video
@swapnilmishra6972 жыл бұрын
Thanks I was not able to understand y my valdiations are not working in my project...with your clear explanation now I am able to get correct validations
@dilnawajkhan75042 жыл бұрын
Hey i see his vedio and exactly in some manner i do it but still validation not working.what i do??
@swapnilmishra6972 жыл бұрын
@@dilnawajkhan7504 what error u ar getting
@dilnawajkhan75042 жыл бұрын
@@swapnilmishra697 hnji ho gya error solve. mene not null ka annotations lgaya tha or empty string de rha tha.toh exception nhi aa rha tha 😂
@thethakurrakesh2 жыл бұрын
@@dilnawajkhan7504 not worked ,only email validation work
@dilnawajkhan75042 жыл бұрын
@@thethakurrakesh no bro all annotations work
@rawats67512 жыл бұрын
Why Password error message are different , one is custom(set by us) and another pre define.
@manvendrasinghsuriyal21442 жыл бұрын
does anyone getting error in pom.xml when including spring boot starter validation dependency?
@sunnysingh78542 жыл бұрын
Hello Bhaiya, I hope you are doing well. I am getting javax.validation.UnexpectedTypeException instead of MethodArgumentNotValid Exception. any suggestion?
@cartoonworld8864 Жыл бұрын
add dependency
@hydro65272 жыл бұрын
Bhai do nextjs with mongodb,tailwind projects
@siddharthsinghvi77262 жыл бұрын
Why we didn't create a class for MethodArgumentNotValidException like in the case of ResourceNotFound Exception?
@arpitawasthi29082 жыл бұрын
because MethodArgumentNotValidException class is already defined in java. ResourceNotFound class was defined by us it is not built inside java
@SMishra-xv4xl4 ай бұрын
Validation is not working, can anyone help me ?
@bhumikalalchandani3212 жыл бұрын
Error coming jn pom xml while adding dependency
@luckyrai54352 жыл бұрын
AWS pe hmko image upload Krna hmko smjh me nhi aa rha hai kaise kre kuchh resources provide kr skte bhaiya
@feezankhattak15732 жыл бұрын
u mean, aws eks. If it is then i will help you
@sourabhgorule71612 жыл бұрын
sir maine sab code sahi kiya hai pr null data fir bhi databse mai ja raha hai, kisiko pata ho to bata dena plzz
@prasannakumarz2 жыл бұрын
use @NotBlank instead of @NotNull
@swapnilmishra6972 жыл бұрын
Question: how to validate if path variable is coming valid or not...I gave @ valid and @notnull infront of @pathvariable but it was not working . Can u please help
@ghostcoderz2 жыл бұрын
you need to annotate your controller class with @Validated annotation.
@swapnilmishra6972 жыл бұрын
@@ghostcoderz I have given @validated still not working...if I give @nullnot then it's still not giving any error if I give path variable values as null ,not sure y
@stream-tunes2 жыл бұрын
1- add @Validated in controller, 2- add annotation for validation after @pathvariable. @RestController @RequestMapping("/api/users") @Validated public class UserController { @Autowired private UserService userService; @GetMapping("/{userId}") public ResponseEntity getUser(@PathVariable @Range(min=1,max=100,message="id must be between 1 to 100") Integer userId) { UserDto user=this.userService.getUserById(userId); return new ResponseEntity(user,HttpStatus.OK); } } //If you enter id 101,you will get ConstraintViolationException '//add this method in GlobalExceptionHandler for proper handling @ExceptionHandler(ConstraintViolationException.class) public ResponseEntity constraintViolation(ConstraintViolationException ex){ return new ResponseEntity(ex.getMessage(),HttpStatus.BAD_REQUEST); }
@swapnilmishra6972 жыл бұрын
@@stream-tunes thanks it's working now
@mayankrajput54588 ай бұрын
Password regex validation is not working
@nikhilsinghrajput922 жыл бұрын
wowwwwww
@AJITPATIL-if1hd Жыл бұрын
Validation not triggered please help guys.............
@universeofentertainment38192 жыл бұрын
Map resp=new HashMap(); ex.getBindingResult().getAllErrors().forEach((error)-> { String fieldName=((FieldError)error).getField(); String message=error.getDefaultMessage(); resp.put(fieldName, message); showing error in FieldError exactly FieldError not suggest in sts
@lordgreat60512 жыл бұрын
import the feilderror class from spring manually into your class