To solve this, I have to update to Hibernate Validator 4.1.0, but Glassfish 3.0.1 is bundled with 4.0.2. I tried to put this lib in my ear as I do with other libs, but Glassfish is still loading this buggy 4.0.2. Also I tried to add <class-loader delegate="false"/> to my sun-web.xml with no success.
Is there any way to update a bundled lib or do I have to wait for an updated Glassfish?