The SOCI DB2 backend .
DB2 version | Operating System | Compiler |
---|---|---|
- | Linux PPC64 | GCC |
9.1 | Linux | GCC |
9.5 | Linux | GCC |
9.7 | Linux | GCC |
10.1 | Linux | GCC |
10.1 | Windows 8 | Visual Studio 2012 |
The SOCI DB2 backend requires IBM DB2 Call Level Interface (CLI) library.
On Unix, before using the DB2 backend please make sure, that you have sourced DB2 profile into your environment:
. ~/db2inst1/sqllib/db2profile
To establish a connection to the DB2 database, create a session object
using the DB2
backend factory together with the database file name:
soci::session sql(soci::db2, "your DB2 connection string here");
TODO
TODO
Supported, but with caution as it hasn't been extensively tested.
Currently, not supported.
Currently, not supported.
Nesting statements are not processed by SOCI in any special way and they work as implemented by the DB2 database.
Stored procedures are supported, with CALL
statement.
TODO
None.
None
Copyright © 2013 Mateusz Loskot