1 Reply Latest reply on Dec 16, 2003 4:41 AM by Jon Barnett

    Update methos into an entity java bean !

    Stefano Gallina Newbie

      Hi,

      I created a remote entity bean( the persistence is managed bt the bean) and i was wondering this :

      if i can call the method create to insert a new record and the method remove to delete, which method do i have to call to update the record ?
      For instance :

      Customer customer = h.createWithDate("Jackie","Brown");

      customer.setName("John");

      // save the new value in the DB
      customer. ???????????????


      // remove the record
      customer.remove();

      Do i have to call the ejbstore method ?
      Cheers.

      Stefano