2 Replies Latest reply on Jun 14, 2004 11:25 AM by akhilanand

    Deleting a row in cmr entity bean

    akhilanand Newbie

      hi ,
      i am having two entity beans which are having a reference(like deptartment and employee related with deptcode) and both are having only local interfaces, and am having a session bean which interacts with these 2 entity beans to perform the required tasks and the client can communicate through this stateless bean only.
      my problem is when am trying to delete a row in child table (employe table). the foreign key is getting a null value assigned and the employee details (empcode,empname, salary...) are still existing in the employee table.
      can anyone suggests with the working example to completely delete the employee row( not by exposing the employee entity bean as remote without session bean).
      thanks in advance
      Akhil