2 Replies Latest reply on Jun 25, 2007 3:09 AM by alex rozario

    Retrieving data from database

    alex rozario Newbie

      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