I\'m trying to get a list of all the users from \"users\" table and I get the following error:
org.hibernate.hql.internal.ast.QuerySyntaxException: users is
Also check that you added the annotated class using:
new Configuration().configure("configuration file path").addAnnotatedClass(User.class)
That always wasted my time when adding a new table in the database using Hibernate.