mtedone / podam

PODAM - POjo DAta Mocker
https://mtedone.github.io/podam
MIT License
323 stars 750 forks source link

Add support for validations 2.0 api #270

Closed jjbuchan closed 5 years ago

jjbuchan commented 5 years ago

Hibernate annotations such as org.hibernate.validator.constraints.NotBlank and NotNull have been deprecated in favor of the ones at javax.validation.constraints..

I'm hoping this is all that is needed.

daivanov commented 5 years ago

Hi,

The problem with validation-api 2.0 is that it is supporting only Java8+, while Podam still have support for Java6+. We want to offer some support who are still using older versions. I agree, now it's getting a bigger and bigger problem, but yet I'm not convinced that ditching Java6 and Java7 is the only solution.

Thanks, Daniil