The code I'm using at the moment is here...
https://filebin.ca/5ihkjcOx8nid
Am 26.11.20 um 7:41 PM schrieb Wolfgang Meyerle:
Hi,
I'm now trying to connect to apache ignite via the odbc driver the whole
afternoon and now I'm stuck.
The compilation and the installation in the platform/cpp directory went
fine. Unixodbc driver was successfully installed according to the readmes.
I also double checked dependency libraries of the ignite odbc so files
and everything seems to be ok so far.
When I run isql on the command line I cannot connect to Apache Ignite.
If I use iusql on the command line with the DSN configured in
/etc/odbc.ini I can perform a connection and can access Ignites database.
However the cpp code does not work and I have no clue neither the error
message is providing useful hints.
According to the manual the ignite driver on linux is using unicode and
is not supporting ansii or am I wrong?
Can anybody provide me a short cpp example how to setup a connection
with cpp using the ODBC driver?
Regards,
Wolfgang