This content has been marked as final.
Show 2 replies
-
1. Re: Deleting a row in cmr entity bean
cuoz Jun 14, 2004 10:55 AM (in response to akhilanand)My guess is that you are only removing the entity from the relationship, and not actually removing the entity itself.
Are you doing something like: department.getEmployees().remove(employee);
If so, try just removing the employee entity: employee.remove();
Hope that helps,
gary. -
2. Re: Deleting a row in cmr entity bean
akhilanand Jun 14, 2004 11:25 AM (in response to akhilanand)hi cuoz,
thanks for that, it worked and we have to embed that within try-catch block as it throws RemoveExcpetion.
regards
Akhil