Hi,
I have some kind of archiving from production to archive database in my 
to-be-developed app.
Since I'm using Castor for data services, I was wondering how can I make these 
cross-database transactions.
Basically, I want to load an object from production database and .create() it 
in archive and the .remove() it in the production database. 
I need some means of keeping databases consistent, i.e. if the remove() fails 
(administrator stops the archiving or whatever...) I want the create() to be 
rolledback too.

What's the best way to do this?
Is there any way to do this successfully without employing external transaction 
manager?
I would really like to have only castor for my data services...



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to