1 Reply Latest reply on Jul 1, 2004 8:38 AM by Jonas Hoepfner

    Collection clear() only sets FK to null

    Jonas Hoepfner Newbie

      Hello,

      One entity bean A references many entity beans Bs. Wenn I call A.getBs.clear() then the B entity beans are not removed from the database, but only their FK to A is set to null. Do I have to manually delete each of those Bs?

      Thanks a lot,
      Jonas