did you insert the records into the table manually or did you use the EntityManager?
i've noticed that when i insert records manually queries made with EntityManager don't see them for a while. Not sure yet why that is... if that's not your problem, then i would try the query as em.createQuery("from "+Stores.class.getName()).getResultList(); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057144#4057144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057144 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user