I believe you need software that supports distributed transaction coordination 
protocols ("X/Open XA" Is good example) and both DBs should support this 
protocol and two-phase commit.


Ilya Kazakevich,
JetBrains PyCharm (Best Python/Django IDE)
http://www.jetbrains.com/pycharm/
"Develop with pleasure!"

>-----Original Message-----
>From: django-users@googlegroups.com
>[mailto:django-users@googlegroups.com] On Behalf Of Juan Jose Huelga
>Sent: Monday, June 16, 2014 5:45 PM
>To: django-users@googlegroups.com
>Subject: Is it possible to get working django transaction with django multiple
>databases
>
>Hi there. I'm trying to get a django site working with multiple databases, it
>means a DB1 for django site an another existing DB2 (say a legacy BD) but I 
>need
>transactions enabled. I need to run queries over BD2 that depends on queries
>over DB1 and the other way around. If any of these queries fail, I need to 
>rollback
>all operations.
>
>I have read Django's documentation regarding Multiple databases and
>Transactions, but it is not clear to me if Django support transactions on 
>Multiple
>databases.
>
>Best Regards.
>
>--
>You received this message because you are subscribed to the Google Groups
>"Django users" group.
>To unsubscribe from this group and stop receiving emails from it, send an 
>email to
>django-users+unsubscr...@googlegroups.com.
>To post to this group, send email to django-users@googlegroups.com.
>Visit this group at http://groups.google.com/group/django-users.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/django-users/CA%2Bn%2BcA2C5C62ww9sB
>%3DdhY-DTujO_HibkY1tWnBLuuBgA1sHH6w%40mail.gmail.com.
>For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/00bd01cf897d%2449d3ac40%24dd7b04c0%24%40JetBrains.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to