[Objectbridge-developers] Automated deletion of depending objects
Brought to you by:
thma
From: Bischof, R. <rai...@ed...> - 2001-09-25 14:53:11
|
Hi Thomas, somewhere I have read that OJB supports automated deletion of depending objects in a 1-m relationship. The question is: how do I do that? I have an object which contains a Vector of depending objects. I want to delete one of these. So I just open a transaction, get a handle to the main object and remove one of the depending objects from the Vector. On transaction submit I would expect that OJB removes the corresponding row in the table. This does not happen for me ;-( Mapping has "true" entries for automated retrieval, update and delete. Do I need to use an ODMG collection instead of the Vector? Thanks Rainer |