[jboss-user] [JBoss Seam] - Re: Retrieving data from database
Kruno
do-not-reply at jboss.com
Tue Jun 26 04:09:01 EDT 2007
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
More information about the jboss-user
mailing list