anthony wrote:
yes after a flush you can continue and choose to commit or rollback.
Note that flush is automatically executed, you generally don't need to call it...
I want to manually do the flush so I can verify that the updates/deletes/inserts etc of the transaction thus far will execute correctly (similar to committing), but still allowing for a rollback of the datbase changes if the email service fails. I am not sure if I have this right in thinking the flush will 'throw' as would a commit if some constraint failed or something