Description
Exception: ('HY010', '[HY010] Query is not prepared. (0) (SQLExecDirectW)')
Reproducer in python:
import pyodbc cnxn = pyodbc.connect(DRIVER='{Apache Ignite}', ADDRESS='localhost:10800',CACHE="Person", autocommit=True) cursor = cnxn.cursor() select_string= "INSERT INTO Person(_key, id, firstName, lastName, salary) VALUES (?, ? , 'abcd', 'dhsagd', 1000)" id_list = (1,1) id_list2 = (2,2) cursor.execute(select_string, id_list) cursor.execute(select_string, id_list2)
Also, the same behavior with executemany.
Attachments
Issue Links
- links to