Matter is better described in pull-request #51, here is short summary: - some ODBC drivers might report errors of preparing statement not after SQLPrepare call, but after another functions call - this behaviour is allowed by ODBC spec on Microsoft website (https://learn.microsoft.com/en-us/sql/odbc/reference/syntax/sqlprepare-function) - some actual MS drivers are doing this, but HDBC-odbc is not expecting that. As simple workaround I propose to add another error check. Maybe there are better solutions, but this worked pretty well for me.
Matter is better described in pull-request #51, here is short summary:
As simple workaround I propose to add another error check. Maybe there are better solutions, but this worked pretty well for me.