Skip to content

idntfy/hibernate-validator-unstable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Example of how Hibernate Validator 4 works with method validation when:

  • one of params is list
  • method is enhanced

Just perform tests. Tests runs validation of method 100 times. And some of validations pass.

Failed tests:
    testValidateMethodWithListOfEntities(com.omaha.hibernate.ValidationExampleTest): validated mismatch expected:<0> but was:<42>
    testValidateMethodWithListOfPrimitives(com.omaha.hibernate.ValidationExampleTest): validated mismatch expected:<0> but was:<53>

However, Hibernate Validator 5 works with it correctly.