<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Wt: Wt::Dbo::backend::Firebird Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> </head> <body> <div id="top"><!-- do not remove this div! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Wt  <span id="projectnumber">3.2.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- Generated by Doxygen 1.7.5.1 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a> </li> <li class="navelem"><a class="el" href="namespaceWt_1_1Dbo.html">Dbo</a> </li> <li class="navelem"><b>backend</b> </li> <li class="navelem"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html">Firebird</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">Wt::Dbo::backend::Firebird Class Reference<div class="ingroups"><a class="el" href="group__dbo.html">Database Objects (Wt::Dbo)</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="Wt::Dbo::backend::Firebird" --><!-- doxytag: inherits="Wt::Dbo::SqlConnection" --> <p>A Firebird connection. <a href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#details">More...</a></p> <p><code>#include <Wt/Dbo/backend/Firebird></code></p> <div class="dynheader"> Inheritance diagram for Wt::Dbo::backend::Firebird:</div> <div class="dyncontent"> <div class="center"><img src="classWt_1_1Dbo_1_1backend_1_1Firebird__inherit__graph.png" border="0" usemap="#Wt_1_1Dbo_1_1backend_1_1Firebird_inherit__map" alt="Inheritance graph"/></div> <map name="Wt_1_1Dbo_1_1backend_1_1Firebird_inherit__map" id="Wt_1_1Dbo_1_1backend_1_1Firebird_inherit__map"> <area shape="rect" href="classWt_1_1Dbo_1_1SqlConnection.html" title="Abstract base class for an SQL connection." alt="" coords="13,5,173,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classWt_1_1Dbo_1_1backend_1_1Firebird-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a2e5453a38e548108c18cb79a2b4a7388">Firebird</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a Firebird backend connection. <a href="#a2e5453a38e548108c18cb79a2b4a7388"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acfbb6df642e4beed3004d4bbfc7428f7"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::Firebird" ref="acfbb6df642e4beed3004d4bbfc7428f7" args="(const std::string &ServerName, const std::string &DatabaseName, const std::string &UserName, const std::string &UserPassword, const std::string &RoleName, const std::string &CharSet=std::string(), const std::string &CreateParams=std::string())" -->  </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#acfbb6df642e4beed3004d4bbfc7428f7">Firebird</a> (const std::string &ServerName, const std::string &DatabaseName, const std::string &UserName, const std::string &UserPassword, const std::string &RoleName, const std::string &CharSet=std::string(), const std::string &CreateParams=std::string())</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates and opens a Firebird backend connection. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e3631cd5519f11d408fc8ca9d12dab4"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::Firebird" ref="a6e3631cd5519f11d408fc8ca9d12dab4" args="(IBPP::Database db)" -->  </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a6e3631cd5519f11d408fc8ca9d12dab4">Firebird</a> (IBPP::Database db)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates and opens a Firebird backend connection. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#ab88a5f9e24a76871d133e75f60c1a9fc">Firebird</a> (const <a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html">Firebird</a> &other)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#ab88a5f9e24a76871d133e75f60c1a9fc"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a9afb6ed4017bb66c2bbc8e8214ab3291">~Firebird</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a9afb6ed4017bb66c2bbc8e8214ab3291"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a005c4bbefcffeaee86b90846ea5dc9e8">connect</a> (const std::string &ServerName, const std::string &DatabaseName, const std::string &UserName, const std::string &UserPassword, const std::string &RoleName, const std::string &CharSet=std::string(), const std::string &CreateParams=std::string())</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Tries to connect. <a href="#a005c4bbefcffeaee86b90846ea5dc9e8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html">Firebird</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a339c61dbfc8a970c0bc5be02606eb8f8">clone</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Clones the connection. <a href="#a339c61dbfc8a970c0bc5be02606eb8f8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa7ba16b32a3d92e3cc4160d986d08ad1"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::connection" ref="aa7ba16b32a3d92e3cc4160d986d08ad1" args="()" --> IBPP::Database </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#aa7ba16b32a3d92e3cc4160d986d08ad1">connection</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the underlying connection handle. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a1c28f7aa543d8abe3d8cdd9e6264e7a6">startTransaction</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Starts a transaction. <a href="#a1c28f7aa543d8abe3d8cdd9e6264e7a6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a56b3591933329229adbfc1c0ec031185">commitTransaction</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Commits a transaction. <a href="#a56b3591933329229adbfc1c0ec031185"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a3c9321d6875365148673d04b5eb8d8de">rollbackTransaction</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Rolls back a transaction. <a href="#a3c9321d6875365148673d04b5eb8d8de"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1Dbo_1_1SqlStatement.html">SqlStatement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#addca1f52322ec6288b2754026c492299">prepareStatement</a> (const std::string &sql)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Prepares a statement. <a href="#addca1f52322ec6288b2754026c492299"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a64153183a5ae0daf2258fccf70144fec">prepareForDropTables</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Execute code before dropping the tables. <a href="#a64153183a5ae0daf2258fccf70144fec"></a><br/></td></tr> <tr><td colspan="2"><div class="groupHeader">Methods that return dialect information</div></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a1a5268d9d6576bea4170f306ca880134">autoincrementSql</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the 'autoincrement' SQL type modifier. <a href="#a1a5268d9d6576bea4170f306ca880134"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a9d8949cdad9f26e27a7b74682171bc1d">autoincrementCreateSequenceSql</a> (const std::string &table, const std::string &id) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the SQL statement(s) required to create an id sequence. <a href="#a9d8949cdad9f26e27a7b74682171bc1d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a4447de10fa42eff2cb12d0b31ca2a07e">autoincrementDropSequenceSql</a> (const std::string &table, const std::string &id) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the SQL statement(s) required to drop an id sequence. <a href="#a4447de10fa42eff2cb12d0b31ca2a07e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a9f8bb3d439e4125a5f4c1d3aee165090">autoincrementType</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the 'autoincrement' SQL type. <a href="#a9f8bb3d439e4125a5f4c1d3aee165090"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#ae7187b5489e855833c06e0acc3626f36">autoincrementInsertSuffix</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the suffix for an 'autoincrement' insert statement. <a href="#ae7187b5489e855833c06e0acc3626f36"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a2073cd53c0abfb9932dc8df941770b32">dateTimeType</a> (<a class="el" href="namespaceWt_1_1Dbo.html#af213c090c1ccddc36d70d56e0804047f">SqlDateTimeType</a> type) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the date/time type. <a href="#a2073cd53c0abfb9932dc8df941770b32"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a2d9775679aeef975d0ad0740570499a9">blobType</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the blob type. <a href="#a2d9775679aeef975d0ad0740570499a9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#aa277c3c0df80ceb2c9f47baca92ea7b4">textType</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the text type. <a href="#aa277c3c0df80ceb2c9f47baca92ea7b4"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a7d9d9bca98b7ca81d5ed41c533af663d">booleanType</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the boolean type. <a href="#a7d9d9bca98b7ca81d5ed41c533af663d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a915df1060cffbd64eec882a707af7bc5">usesRowsFromTo</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the SQL dialect uses 'ROWS ? TO ?' for partial select results. <a href="#a915df1060cffbd64eec882a707af7bc5"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>A Firebird connection. </p> <p>This class provides the backend implementation for Firebird databases. It supports Firebird databases with version 2.1 or higher. </p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a2e5453a38e548108c18cb79a2b4a7388"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::Firebird" ref="a2e5453a38e548108c18cb79a2b4a7388" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Wt::Dbo::backend::Firebird::Firebird </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a Firebird backend connection. </p> <p>The connection is not yet open, and requires a <a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html#a005c4bbefcffeaee86b90846ea5dc9e8" title="Tries to connect.">connect()</a> before it can be used. </p> </div> </div> <a class="anchor" id="ab88a5f9e24a76871d133e75f60c1a9fc"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::Firebird" ref="ab88a5f9e24a76871d133e75f60c1a9fc" args="(const Firebird &other)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Wt::Dbo::backend::Firebird::Firebird </td> <td>(</td> <td class="paramtype">const <a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html">Firebird</a> & </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Copy constructor. </p> <p>This creates a new backend connection with the same settings as another connection. </p> </div> </div> <a class="anchor" id="a9afb6ed4017bb66c2bbc8e8214ab3291"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::~Firebird" ref="a9afb6ed4017bb66c2bbc8e8214ab3291" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Wt::Dbo::backend::Firebird::~Firebird </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Destructor. </p> <p>Closes the connection. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a9d8949cdad9f26e27a7b74682171bc1d"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::autoincrementCreateSequenceSql" ref="a9d8949cdad9f26e27a7b74682171bc1d" args="(const std::string &table, const std::string &id) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::vector< std::string > Wt::Dbo::backend::Firebird::autoincrementCreateSequenceSql </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>table</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>id</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the SQL statement(s) required to create an id sequence. </p> <p>This is used by <a class="el" href="classWt_1_1Dbo_1_1Session.html#aba79d84c7c91faae06f954e6d3d390ab" title="Creates the database schema.">Session::createTables()</a> to create the id sequence for a table. The table's name and primary key are passed as arguments to this function and can be used to construct an SQL sequence that is unique for the table. </p> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#a7922dac3fd8a808dbbeef97a5a772e3f">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a4447de10fa42eff2cb12d0b31ca2a07e"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::autoincrementDropSequenceSql" ref="a4447de10fa42eff2cb12d0b31ca2a07e" args="(const std::string &table, const std::string &id) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::vector< std::string > Wt::Dbo::backend::Firebird::autoincrementDropSequenceSql </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>table</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>id</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the SQL statement(s) required to drop an id sequence. </p> <p>This is used by <a class="el" href="classWt_1_1Dbo_1_1Session.html#a4c1fedb21e4e1cc44b182a34e8ebb4ef" title="Drops the database schema.">Session::dropTables()</a> to drop the id sequence for a table. The table's name and primary key are passed as arguments to this function and can be used to construct an SQL sequence that is unique for the table. </p> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#a188acc931dd1d3dbd3a21e28783f7bd2">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="ae7187b5489e855833c06e0acc3626f36"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::autoincrementInsertSuffix" ref="ae7187b5489e855833c06e0acc3626f36" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Wt::Dbo::backend::Firebird::autoincrementInsertSuffix </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the suffix for an 'autoincrement' insert statement. </p> <p>This is appended to the <code>insert</code> statement, since some back-ends need to be indicated that they should return the autoincrement id. </p> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#aec6a5227e676cf373f842e4d1ac75f12">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a1a5268d9d6576bea4170f306ca880134"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::autoincrementSql" ref="a1a5268d9d6576bea4170f306ca880134" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Wt::Dbo::backend::Firebird::autoincrementSql </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the 'autoincrement' SQL type modifier. </p> <p>This is used by <a class="el" href="classWt_1_1Dbo_1_1Session.html#aba79d84c7c91faae06f954e6d3d390ab" title="Creates the database schema.">Session::createTables()</a> to create the <em>id</em> column. </p> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#a8c00fd64eb82999880cc813ef3866f5d">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a9f8bb3d439e4125a5f4c1d3aee165090"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::autoincrementType" ref="a9f8bb3d439e4125a5f4c1d3aee165090" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Wt::Dbo::backend::Firebird::autoincrementType </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the 'autoincrement' SQL type. </p> <p>This is used by <a class="el" href="classWt_1_1Dbo_1_1Session.html#aba79d84c7c91faae06f954e6d3d390ab" title="Creates the database schema.">Session::createTables()</a> to create the <em>id</em> column. </p> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#aff293ff5ad586e15143729eb38300ad6">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a2d9775679aeef975d0ad0740570499a9"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::blobType" ref="a2d9775679aeef975d0ad0740570499a9" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * Wt::Dbo::backend::Firebird::blobType </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the blob type. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Dbo_1_1SqlStatement.html#ae2bbddef8fd8c11687d23187920dc4da" title="Binds a value to a column.">SqlStatement::bind(int, const std::vector<unsigned char>&)</a> </dd></dl> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#a68a272eaafeef5e04912914f0662da39">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a7d9d9bca98b7ca81d5ed41c533af663d"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::booleanType" ref="a7d9d9bca98b7ca81d5ed41c533af663d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * Wt::Dbo::backend::Firebird::booleanType </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the boolean type. </p> <p>This method will return "boolean" by default. </p> <p>Reimplemented from <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#a9ac4a9c6803447204843b722961cf79b">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a339c61dbfc8a970c0bc5be02606eb8f8"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::clone" ref="a339c61dbfc8a970c0bc5be02606eb8f8" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classWt_1_1Dbo_1_1backend_1_1Firebird.html">Firebird</a> * Wt::Dbo::backend::Firebird::clone </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Clones the connection. </p> <p>Returns a new connection object that is configured like this object. This is used by connection pool implementations to create its connections. </p> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#a60168581b0fdeb4a6404358455a2ac8d">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a56b3591933329229adbfc1c0ec031185"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::commitTransaction" ref="a56b3591933329229adbfc1c0ec031185" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wt::Dbo::backend::Firebird::commitTransaction </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Commits a transaction. </p> <p>This function commits a transaction. </p> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#a38ed9ab4831a0bfd8694f250813803bf">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a005c4bbefcffeaee86b90846ea5dc9e8"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::connect" ref="a005c4bbefcffeaee86b90846ea5dc9e8" args="(const std::string &ServerName, const std::string &DatabaseName, const std::string &UserName, const std::string &UserPassword, const std::string &RoleName, const std::string &CharSet=std::string(), const std::string &CreateParams=std::string())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wt::Dbo::backend::Firebird::connect </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>ServerName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>DatabaseName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>UserName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>UserPassword</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>RoleName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>CharSet</em> = <code>std::string()</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>CreateParams</em> = <code>std::string()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Tries to connect. </p> <p>Throws an exception if there was a problem, otherwise returns <code>true</code>. </p> </div> </div> <a class="anchor" id="a2073cd53c0abfb9932dc8df941770b32"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::dateTimeType" ref="a2073cd53c0abfb9932dc8df941770b32" args="(SqlDateTimeType type) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * Wt::Dbo::backend::Firebird::dateTimeType </td> <td>(</td> <td class="paramtype"><a class="el" href="namespaceWt_1_1Dbo.html#af213c090c1ccddc36d70d56e0804047f">SqlDateTimeType</a> </td> <td class="paramname"><em>type</em></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the date/time type. </p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Dbo_1_1SqlStatement.html#a94c43852e586bbcba7077352588fe1a2" title="Binds a value to a column.">SqlStatement::bind(int, const boost::posix_time::ptime&, SqlDateTimeType)</a> </dd></dl> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#af1f3290a984288175c6d82d088d0636c">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a64153183a5ae0daf2258fccf70144fec"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::prepareForDropTables" ref="a64153183a5ae0daf2258fccf70144fec" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wt::Dbo::backend::Firebird::prepareForDropTables </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Execute code before dropping the tables. </p> <p>This method is called before calling <a class="el" href="classWt_1_1Dbo_1_1Session.html#a4c1fedb21e4e1cc44b182a34e8ebb4ef" title="Drops the database schema.">Session::dropTables()</a>. The default implementation is empty. </p> <p>Reimplemented from <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#a16913d73967d28ac86476688a59b057a">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="addca1f52322ec6288b2754026c492299"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::prepareStatement" ref="addca1f52322ec6288b2754026c492299" args="(const std::string &sql)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classWt_1_1Dbo_1_1SqlStatement.html">SqlStatement</a> * Wt::Dbo::backend::Firebird::prepareStatement </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>sql</em></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Prepares a statement. </p> <p>Returns the prepared statement. </p> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#afbebcc0007aef36f6aa02b61f514b853">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a3c9321d6875365148673d04b5eb8d8de"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::rollbackTransaction" ref="a3c9321d6875365148673d04b5eb8d8de" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wt::Dbo::backend::Firebird::rollbackTransaction </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Rolls back a transaction. </p> <p>This function rolls back a transaction. </p> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#aee5a42b2f3b452d32360a1c31f59f22d">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a1c28f7aa543d8abe3d8cdd9e6264e7a6"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::startTransaction" ref="a1c28f7aa543d8abe3d8cdd9e6264e7a6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wt::Dbo::backend::Firebird::startTransaction </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Starts a transaction. </p> <p>This function starts a transaction. </p> <p>Implements <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#abcddbb27f50192113d14c66a5ca10731">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="aa277c3c0df80ceb2c9f47baca92ea7b4"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::textType" ref="aa277c3c0df80ceb2c9f47baca92ea7b4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * Wt::Dbo::backend::Firebird::textType </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the text type. </p> <p>This method will return "text" by default.</p> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Dbo_1_1SqlStatement.html#ad8b53ca87bdef11ceceb96ab05c260b9" title="Binds a value to a column.">SqlStatement::bind(int column, const std::string& value)</a> </dd></dl> <p>Reimplemented from <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#ac0530e7ce88b5c720876d430ac0ff675">Wt::Dbo::SqlConnection</a>.</p> </div> </div> <a class="anchor" id="a915df1060cffbd64eec882a707af7bc5"></a><!-- doxytag: member="Wt::Dbo::backend::Firebird::usesRowsFromTo" ref="a915df1060cffbd64eec882a707af7bc5" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Wt::Dbo::backend::Firebird::usesRowsFromTo </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns whether the SQL dialect uses 'ROWS ? TO ?' for partial select results. </p> <p>This is an alternative SQL dialect option to the (non-standard) 'OFFSET ? LIMIT ?' syntax.</p> <p>The default implementation returns <code>false</code>. </p> <p>Reimplemented from <a class="el" href="classWt_1_1Dbo_1_1SqlConnection.html#a3930f33892ccf74e74daa31db3579643">Wt::Dbo::SqlConnection</a>.</p> </div> </div> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <hr size="1"><address style="text-align: right; margin: 3px"><small> Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the C++ Web Toolkit (Wt)</a> by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" border="0" style="vertical-align: middle; display: inline-block; height: 2em"></a> 1.7.5.1</small></address> </body> </html>