Scenario:
We need to update mainframe after a record has been added to the DB via website. We can set it up to run after Flush in a PostFlush interceptor, however, the Flush is not completely executed at that point - i.e. that newly added record is still not committed to DB. As a result, the PostFlush routine that updates some other DBs and tables does not see the record in DB yet.
So, really, we could do two consecutive calls - .Flash() and then run our routine, but we want to abstract the last call from developers - we'd need that to run automatically.
Any ideas would be highly appreciated!
|