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
I also was importing the wrong Entity import org.hibernate.annotations.Entity; It should be import javax.persistence.Entity;
import org.hibernate.annotations.Entity;
javax.persistence.Entity;