hibernate-validator reloading cannot take effort

ZeroTurnaround Homepage Forums JRebel Support hibernate-validator reloading cannot take effort

This topic contains 0 replies, has 1 voice, and was last updated by  Elliot Mok 3 months, 1 week ago.

Viewing 1 post (of 1 total)
  • Author
  • #66785

    Elliot Mok

    I used the hibernate-validator which integrated with spring framework.When I appended some hibernate-validator annotation in a Controller class.The console showed that JRebel reloaded the class.But the validation didn’t take effort!The code is shown below:
    import org.springframework.validation.annotation.Validated;

    import javax.validation.constraints.Min;
    //something other import

    public class MyController {
    public RemindPageResult listDogs(@RequestParam(required = false) @Min(1) Integer curPage, @RequestParam(required = false) Integer pageSize){
    What I appended is “@Validated” and “@Min(1)”.
    Any suggestion?Thanks in advance!

    Does it seem likely that spring should re-inject the bean?

    • This topic was modified 3 months, 1 week ago by  Elliot Mok.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.