Using hibernate validator with tomee-embedded

2024-04-16 Thread Gilberto
Normally you need to include some specific package to change the default tomee composition. I did this way, changing JPA and Valdator: [code] org.apache.tomee.maven tomee-embedded-maven-plugin ${tomee-embedded-maven-plugin.version}

Using hibernate validator with tomee-embedded

2024-04-08 Thread Egor Duda
Hello! I'm trying to use tomee-embedded for unit testing EJBs and some of those EJBs functions make use of hibernate-specific validators, such as @ISBN. Running ISBNTest from the code below causes jakarta.validation.UnexpectedTypeException: No compliant org.hibernate.validator.constraints.ISBN C