In this example I used Hibernate Validator to make validation rules and to make our custom validation rule ie. our custom annotation @CourseCode and some other standard validations for all other fields.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool