F
francois
I have a set of sql statements (insert, updates) that I want to encapsulate
in a single transaction to be able to rollback the all thing in any case an
exception occurs. If everything works fine then I will commit the all thing
all at once.
The only problem is that the different sql statements are using 2 different
DBs, hence 2 different SQL connections.
My question is how can i have different DB connections using the same
transaction? Maybe someone can forward me to a good resource if it is a
little bit too long to explain in here.
Thanks in advance,
Best regards,
Francois
in a single transaction to be able to rollback the all thing in any case an
exception occurs. If everything works fine then I will commit the all thing
all at once.
The only problem is that the different sql statements are using 2 different
DBs, hence 2 different SQL connections.
My question is how can i have different DB connections using the same
transaction? Maybe someone can forward me to a good resource if it is a
little bit too long to explain in here.
Thanks in advance,
Best regards,
Francois