Can not use hibernate with glassfish !
I can't use this statement:
Query query = session.createQuery("from User u");
It raise a ClassNotFoundException: org.hibernate.hql.ast.HqlToken.
The raison is glassfish and Hibernate use antlr.jar. And glassfish's jar file hasn't this class.
( I've found this site http://www.hibernate.org/250.html#A25, but it's for BEA )
How can I overcome this problem ?