|
|
|
|
|
Re: Complete Delete [message #470964 is a reply to message #470959] |
Wed, 21 February 2007 20:20 |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Kenn, John,
Actually, that would be a pre-commit listener :-)
Post-commit listeners are not permitted to make changes to the model (though
they may read; they are invoked within read-only transactions).
Pre-commit listeners provide commands that will be executed before the
transaction commit completes. This is important, because these changes
also need to be validated by the transaction, and if necessary rolled back.
Cheers,
Christian
Kenn Hussey wrote:
> John,
>
> Are you using the 'Element > Destroy' action? It should unapply the
> stereotypes as well.
>
> With respect to the associations, and other similar semantic
> relationships, you could consider using the transaction functionality
> provided by EMFT and register a post-commit listener that does this kind
> of clean-up when transactions are closed...
>
<snip>
|
|
|
|
|
|
|
Re: Complete Delete [message #589052 is a reply to message #470959] |
Wed, 21 February 2007 20:20 |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Kenn, John,
Actually, that would be a pre-commit listener :-)
Post-commit listeners are not permitted to make changes to the model (though
they may read; they are invoked within read-only transactions).
Pre-commit listeners provide commands that will be executed before the
transaction commit completes. This is important, because these changes
also need to be validated by the transaction, and if necessary rolled back.
Cheers,
Christian
Kenn Hussey wrote:
> John,
>
> Are you using the 'Element > Destroy' action? It should unapply the
> stereotypes as well.
>
> With respect to the associations, and other similar semantic
> relationships, you could consider using the transaction functionality
> provided by EMFT and register a post-commit listener that does this kind
> of clean-up when transactions are closed...
>
<snip>
|
|
|
Powered by
FUDForum. Page generated in 0.03725 seconds