Instead of using Hibernate as runtime dependency, I have configured it only in the tomee-maven-plugin. In this way, Hibernate is only seen by TomEE container