Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Page db2.html is work in progress, I lack of details myself. [ci skip]
- Loading branch information
Showing
2 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html> | ||
<head> | ||
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" /> | ||
<link rel="stylesheet" type="text/css" href="../style.css" /> | ||
<title>SOCI - DB2 Backend Reference</title> | ||
</head> | ||
|
||
<body> | ||
<p class="banner">SOCI - The C++ Database Access Library</p> | ||
|
||
<h2>DB2 Backend Reference</h2> | ||
|
||
<div class="navigation"> | ||
<a href="#prerequisites">Prerequisites</a><br /> | ||
<div class="navigation-indented"> | ||
<a href="#versions">Supported Versions</a><br /> | ||
<a href="#tested">Tested Platforms</a><br /> | ||
<a href="#required">Required Client Libraries</a><br /> | ||
</div> | ||
<a href="#connecting">Connecting to the Database</a><br /> | ||
|
||
<a href="#support">SOCI Feature Support</a><br /> | ||
<div class="navigation-indented"> | ||
<a href="#dynamic">Dynamic Binding</a><br /> | ||
<a href="#bindingbyname">Binding by Name</a><br /> | ||
<a href="#bulk">Bulk Operations</a><br /> | ||
<a href="#transactions">Transactions</a><br /> | ||
<a href="#blob">BLOB Data Type</a><br /> | ||
<a href="#rowid">RowID Data Type</a><br /> | ||
<a href="#nested">Nested Statements</a><br /> | ||
<a href="#procedures">Stored Procedures</a><br /> | ||
</div> | ||
<a href="#native">Accessing the Native Database API</a><br /> | ||
<a href="#extensions">Backend-specific Extensions</a><br /> | ||
<a href="#options">Configuration options</a><br /> | ||
</div> | ||
|
||
<h3 id="prerequisites">Prerequisites</h3> | ||
<h4 id="versions">Supported Versions</h4> | ||
|
||
<p>The SOCI DB2 backend .</p> | ||
|
||
<h4 id="tested">Tested Platforms</h4> | ||
|
||
<table border="1" cellpadding="5" cellspacing="0"> | ||
<tbody> | ||
<tr><th>DB2 version</th><th>Operating System</th><th>Compiler</th></tr> | ||
<tr><td>9.1</td><td>Linux</td><td>GCC</td></tr> | ||
<tr><td>9.5</td><td>Linux</td><td>GCC</td></tr> | ||
<tr><td>9.7</td><td>Linux</td><td>GCC</td></tr> | ||
<tr><td>10.1</td><td>Linux</td><td>GCC</td></tr> | ||
<tr><td>10.1</td><td>Windows 8</td><td>Visual Studio 2012</td></tr> | ||
</tbody> | ||
</table> | ||
|
||
<h4 id="required">Required Client Libraries</h4> | ||
|
||
<p>The SOCI DB2 backend requires IBM DB2 Call Level Interface (CLI) library.</p> | ||
|
||
<h4 id="connecting">Connecting to the Database</h4> | ||
|
||
<p>To establish a connection to the DB2 database, create a session object | ||
using the <code>DB2</code> backend factory together with the database file name:</p> | ||
|
||
<pre class="example"> | ||
soci::session sql(soci::db2, "your DB2 connection string here"); | ||
</pre> | ||
|
||
<h3 id="support">SOCI Feature Support</h3> | ||
<h4 id="dynamic">Dynamic Binding</h4> | ||
|
||
<p>TODO</p> | ||
|
||
<h4 id="bindingbyname">Binding by Name</h4> | ||
|
||
<p>TODO</p> | ||
|
||
<h4 id="bulk">Bulk Operations</h4> | ||
|
||
<p>TODO</p> | ||
|
||
<h4 id="transactions">Transactions</h4> | ||
|
||
<p>TODO</p> | ||
|
||
<h4 id="blob">BLOB Data Type</h4> | ||
|
||
<p>TODO</p> | ||
|
||
<h4 id="nested">Nested Statements</h4> | ||
|
||
<p>TODO</p> | ||
|
||
<h4 id="procedures">Stored Procedures</h4> | ||
|
||
<p>TODO</p> | ||
|
||
<h3 id="native">Acessing the native database API</h3> | ||
|
||
<p>TODO</p> | ||
|
||
<h3 id="extensions">Backend-specific extensions</h3> | ||
|
||
<p>None.</p> | ||
|
||
<h3 id="options">Configuration options</h3> | ||
|
||
<p>None</p> | ||
|
||
<p class="copyright">Copyright © 2013 Mateusz Loskot</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters