I have used transactions with postgresql database, and all is ok.
When I start testing with Oracle backend I get strange things. It
seems, that transactions are autocommited.
Oracle has no autocommit by default, it can be changed during the
session.

I use views tested on PostgreSQL, where transactions were right
procesed.

For example, I put
@transaction.commit_manually
before the view code.

then I set a TRY - EXCEPT - ElSE block, and rollback transaction when
any exception occured.

But when I get the exception, the objects are saved to the DB.
I didn't get any errors related to transaction processing.

Any reasons for that?

Regards, Farid


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to