[jboss-user] [JBoss Seam] - Retrieving data from database

alexrozario do-not-reply at jboss.com
Sat Jun 23 07:31:00 EDT 2007


Hi all,

I have created an entity bean class as Stores.java and Stateless Session bean as SearchSession.java.

And i am using Search.xhtml(facelet) file to retrieve data from table Stores in my local database.

I am using Seam 1.2.1 GA version to configure them

and i am using a query as 
List details =em.createQuery("select s from Stores s").getResultList(); in my Session bean. 

and i am using datatable in my .xhtml file to view the data. 
but it doesn't shows any result. my table has more than 5 records. whats wrong in my coding. how to overcome this..

please help me..

thanks in advance..

i am waiting for your valueable help

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057117#4057117

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057117



More information about the jboss-user mailing list