Select seems to be the problem em.createQuery("select s.storeName,s.reviewPoints,s.website from Stores s").getResultList();
this way you will get String [] in side private List details; you need to get list of object Stores, try this: em.createQuery("from Stores s").getResultList(); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057582#4057582 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057582 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user