X/Open standard interface
In addition to the standard ODBC functions, the HCL OneDB™ ODBC Driver also supports the additional functions.
The following functions are supported by HCL
OneDB ODBC Driver
- IFMX_SQLGetXaHenv
- Function for obtaining the environment handle associated with an XA Connection
- IFMX_SQLGetXaHdbc
- Function for obtaining the database handle associated with an XA Connection
- xa_open
- Function takes an xa_info parameter. The HCL
OneDB ODBC Driver uses
this xa_info to establish a XA connectionThe format of xa_info is as follows:
<appilcationtoken>|<DSN name>
The application token is a unique number the application generates for each xa_open request. It must use the same application token as parameter to IFMX_SQLGetXaHenv and IFMX_SQLGetXaHdbc to get the associated environment and database handles.