1 Reply Latest reply on Aug 21, 2005 7:52 PM by Emmanuel Bernard

    Update Table

    ulf.klaas Newbie

      Hi,

      i want to update my entity.
      When i use the Entitmanager-method create or merge, a new Entity-Id is generated, so the Column will not be updated.
      Example:
      Enitity Author:
      I use
      Entitymanager manager;
      Author author;
      public void setAuthor(name) //This is the Entitymodificator
      manager.merge(author); or
      manager.persist(author);

      Thanks for any advice!