0 Replies Latest reply on Oct 15, 2003 3:21 AM by kentcb

    CMP entity logical deletion

    kentcb Newbie

      Just wondering if there's a standard way of implementing logical deletion for CMP entity beans . . .

      Is there a way to override the default behaviour of ejbRemove such that the record is not deleted from the DB (but is instead marked as deleted)?

      Or should I implement my own "delete" method and never call remove on the EJB? If so, can I throw RemoveException from ejbRemove to avoid the DB record being deleted?