--
Ticket URL: <https://code.djangoproject.com/ticket/22769>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_better_patch: => 0
* resolution: => needsinfo
* needs_tests: => 0
* needs_docs: => 0
Comment:
Hi,
We'd appreciate a little more details about this. A code sample that works
with !MySql and fails with Oracle will be nice.
When adding more details, please reopen the bug.
Thanks,
Shai.
--
Ticket URL: <https://code.djangoproject.com/ticket/22769#comment:1>
Comment (by manish_kumar9@…):
Added code sample which is failing. Note : Instead of using
@transaction.atomic if we put explicit commit i.e.
self.connection.commit(), everything works fine.
--
Ticket URL: <https://code.djangoproject.com/ticket/22769#comment:2>
* status: closed => new
* resolution: needsinfo =>
--
Ticket URL: <https://code.djangoproject.com/ticket/22769#comment:3>
Comment (by aaugustin):
A few questions...
- When you're testing on MySQL, are you using the MyISAM or the InnoDB
storage engine? (Since MyISAM doesn't support transactions, that would
make the comparison irrelevant.)
- Where is `self.cursor` coming from in your example?
- Are you using more than one database?
--
Ticket URL: <https://code.djangoproject.com/ticket/22769#comment:4>
Comment (by manish_kumar9@…):
we support multiple database but at a time only one will be available for
single installation. self.cursor is class variable where we have this
mentioned method.
--
Ticket URL: <https://code.djangoproject.com/ticket/22769#comment:5>
* status: new => closed
* resolution: => needsinfo
Comment:
I'm sorry, but it's hard to help when you're answering only half of my
questions and you aren't giving enough information for me to reproduce
your problem.
If you provide a standalone piece of code that I can run and that has a
different transactional behavior on MySQL + InnoDB and on Oracle, then
I'll fix it.
(Please remember that I'm working on my free time to help you do you paid
job.)
--
Ticket URL: <https://code.djangoproject.com/ticket/22769#comment:6>