Closed alexgv closed 11 years ago
I think it is fixed now and yes it stayed in autocommit mode.
any request to the database now produces the following error. @kapilratnani
'NoneType' object has no attribute 'setautocommit'
Request Method: GET
Request URL: http://10.0.4.20:8000/api/enterprisemanager/config/
Django Version: 1.4.5
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'setautocommit'
Exception Location: /usr/local/lib/python2.7/site-packages/django_hana/base.py in _enter_transaction_management, line 235
Python Executable: /usr/local/bin/python2.7
Python Version: 2.7.3
i've patched the issue. Pleas check.
Looks like its working. Thanks.
Transaction do not roll back when issuing a save or update when using the django decorator @transaction.commit_manually(using="db") pretty sure it jus stays in auto commit mode.
@kapilratnani