Spring Boot Restful + PostgreSQL + JPA Validation @NotNull @Size @Min @Max @Pattern - Part 7

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ต.ค. 2024
  • In this video I tried to cover most commonly used validation annotation in Spring Validation with custom response messages. I also covered how we can use regex to validate the user input.
    @NotNull
    @Size
    @Min
    @Max
    @Pattern
    @Validated

ความคิดเห็น • 5

  • @johnjada4296
    @johnjada4296 ปีที่แล้ว

    So useful, so useful tq

  • @srinivashs1589
    @srinivashs1589 ปีที่แล้ว

    How to validate integer value for int data type of we pass 7.5 double value

  • @jianhe
    @jianhe 3 ปีที่แล้ว +1

    cool!

  • @alejandroluisromerodiaz2633
    @alejandroluisromerodiaz2633 2 ปีที่แล้ว

    have you ever find this error when use the @Pattern "Pattern is not an annotation type"??? all others annotation works for me except the @Pattern

  • @turgaycabalak9712
    @turgaycabalak9712 3 ปีที่แล้ว

    Hi.
    Check out 10:44 I cannot see what is that symbol before $ inside the @Pattern annotation.
    I think thats why i always take the error message even though i wrote department correctly.