Answer the question
In order to leave comments, you need to log in
Why does cx_Oracle lose some data when querying the database?
I use cx_Oracle (8.2.0/8.0.1), I make a request, but some of the data is lost.
Algorithm:
1. From the jang service I make a connection to the Oracle database through the manager:
with cx_Oracle.connect(*connection_data(kod_mo)) as connection:
cursor = connection.cursor()
...
...
cursor.callproc(some_procedure, [some_args])
...
...
cursor.execute(sql, {"some_args": some_args})
...
...
cursor.fetch(all/one/many)
...
Answer the question
In order to leave comments, you need to log in
Found an error. It consisted in a large number of connections using janga to different databases at the start of the project, something like:
for key, value in dict_databases.items():
DATABASES[key] = {
"ENGINE": "django.db.backends.oracle",
"NAME": key_key_key_...,
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question