-
1. Re: Cascade Delete on 3 Entities not working
epbernard Feb 12, 2006 9:43 AM (in response to ppc)That 's most likely something else. The example you describe works
-
2. Re: Cascade Delete on 3 Entities not working
nholbrook Feb 15, 2006 3:23 PM (in response to ppc)I've got a similar issue.
For some odd reason, if I use a detached object and pass it back to the server to delete the object, it works fine. If I just pass the id of the object and have the server do a lookup then remove on the object, I get the same errors you are describing.
---------------------------------- Works ---------------------
Detached Client
Company company = proxy.findMyCompany();
proxy.delete(company)
Server
persistenceManager.remove(company);
--------------------------------------------- Doesn't work --------------------------------------
Detached Client
proxy.deleteCompany(companyId);
Server
Company company = persistenceManager.find(compan);
persistenceManager.remove(company); -
3. Re: Cascade Delete on 3 Entities not working
epbernard Feb 16, 2006 5:01 AM (in response to ppc)I find it hard to believe