Skip to content

How to still validate javax.validation annotated classes? #48447

Discussion options

You must be logged in to vote

I decided to write and use an extension to transform the javax.validation references to jakarta.validatoin. Unfortunately, I was not able to get the Hibernate validator that is initialized by the Quarkus extension to recognize the transformed classes. So for now, I'm creating a second validator with the 'plain' factory provided by Hibernate validation. Also this may not be an optimal solution I had to somehow proceed and for now this works for me.

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
7 replies
@roamingthings
Comment options

@gsmet
Comment options

@roamingthings
Comment options

@roamingthings
Comment options

@roamingthings
Comment options

Comment options

You must be logged in to vote
2 replies
@gsmet
Comment options

@roamingthings
Comment options

Answer selected by roamingthings
Comment options

You must be logged in to vote
1 reply
@marko-bekhta
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants