2 Replies Latest reply on Aug 28, 2005 10:12 AM by benzuo

    Help Me how to call EJBStore

    benzuo

      Hi
      I user the CMP and jdbc in the sessionBean,
      when i update data by CMP ,but the jdbc can not find the modify data.

      Code sample

      try {

      MyEB my= MyEB Home.findByPrimaryKey(new Long(861974));

      my.setLotId("BenTest");


      dao.queryTest(861974);
      } catch (Exception e) {
      // TODO: handle exception
      e.printStackTrace();
      }

      in the dao , i can't get the lotid =BenTest


      Thanks