Using antlr 3.x in a project together with hibernate currently is a little bit unclean because of the dependency of hibernate to antlr 2.7.7. I know you rejected updating antlr in HHH-10028 Closed . But maybe you can have another look?