Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with Hibernate validator 6.0.7.Final #26

Open
AjayU opened this issue Oct 15, 2018 · 5 comments
Open

Doesn't work with Hibernate validator 6.0.7.Final #26

AjayU opened this issue Oct 15, 2018 · 5 comments

Comments

@AjayU
Copy link

AjayU commented Oct 15, 2018

No description provided.

@Osguima3
Copy link

Hi! This is a duplicate of #22 and #24, for which I already opened a pull request. Unfortunately, @jirutka doesn't seem to be active anymore and hasn't merged PRs for some time :(

@kraiss
Copy link

kraiss commented Feb 12, 2020

Note that if you are moving to Hibernate Validator 6 you can probably get rid of jiruta validator-collection. As instance you can replace
@EachPattern(regexp = "<my-awesome-pattern>") List<String> list;
by
List<@Pattern(regexp = "<my-awesome-pattern>") String> list;

@benkokobe
Copy link

benkokobe commented Feb 13, 2020

Hi! This is a duplicate of #22 and #24, for which I already opened a pull request. Unfortunately, @jirutka doesn't seem to be active anymore and hasn't merged PRs for some time :(

Hi @Osguima3

Are you able to get rid of the error:

HV000243: Constraint mypackage.xx.EachSize references constraint validator type mypackage.xx2.CommonEachValidator, but this validator is defined for constraint type java.lang.annotation.Annotation.

I used your modifications and I have still the same error :(

@Osguima3
Copy link

@benkokobe Based on what @kraiss said, you won't even need this library anymore since Hibernate seems to support it directly, so I wouldn't even worry about this. This library is dead, anyway...

@benkokobe
Copy link

@Osguima3 Thanks, for your reply :-)
I have already started to migrate the application to the new Hibernate version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants