⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.html

📁 ORACLE编程的好东西,纯C写的OCI封装.很好用,支持数据池.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><title>OCILIB (C Driver for Oracle): Main Page</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.5.4 --><div class="tabs">  <ul>    <li class="current"><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li><a href="modules.html"><span>Modules</span></a></li>    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>    <li><a href="files.html"><span>Files</span></a></li>  </ul></div><h1>OCILIB (C Driver for Oracle) Documentation</h1><p><h3 align="center">3.0.0 </h3><div align="center"><img src="logo-160x120.png" alt="logo-160x120.png"></div><h2><a class="anchor" name="s_intro">Introduction</a></h2>OCILIB is an open source and portable Oracle Driver that delivers really fast and reliable access to Oracle databases.<p>The OCILIB library :<p><ul><li>offers a rich, full featured and easy to use API</li><li>runs on all Oracle platforms</li><li>is written in pure ISO C code with native ISO C Unicode support</li><li>encapsulates OCI (Oracle Call Interface)</li><li>is the most complete available OCI wrapper</li></ul><h2><a class="anchor" name="s_version">Version information</a></h2><b>Current version : 3.0.0 (2008-10-13)</b><h2><a class="anchor" name="s_feats">Main features</a></h2><ul><li>Data binding</li><li>Integrated smart define and fetch mecanisms</li><li>Full Unicode support on all platorms</li><li>Multi row fetching</li><li>Binding array Interface for fast and massive bulk operations</li><li>Reusable Statements</li><li>Scrollable statements</li><li>Connection Pooling</li><li>Global Transactions</li><li>Returning DML feature support</li><li>ROWIDs support</li><li>Named Types (Object types) support (User or Builtin)</li><li>Collections (Varrays and Nested tables)</li><li>Ref cursors</li><li>Full PL/SQL support (blocks, cursors, Index by Tables and Nested tables)</li><li>LOB (BLOBs/ FILEs)</li><li>Supports lobs &gt; 4Go</li><li>Long datatype (piecewise operations)</li><li>Provides "All in one" Formatted functions (printf's like)</li><li>Smallest possible memory usage</li><li>Date/time management</li><li>Timestamps and Intervals support</li><li>Error handling</li><li>Thread contextual error management</li><li>Describe database schema objects</li><li>Access columns by index or name</li><li>Hash tables API</li><li>Portable Threads and mutexes API</li><li>Supports static / shared oracle linkage</li><li>Support runtime loading (no OCI libs required at compile / time)</li></ul><h2><a class="anchor" name="s_down">Download</a></h2>Get OCILIB from <a href="http://orclib.sourceforge.net">OCILIB Project page</a> at Sourceforge Website<h2><a class="anchor" name="s_author">Author</a></h2>OCILIB is developped by <a href="mailto:vince.rogier@gmail.com">Vincent Rogier</a><h2><a class="anchor" name="s_changelog">ChangeLog</a></h2><div class="fragment"><pre class="fragment">2008-10-13 Version 3.0.0 Vincent Rogier vince.rogier@gmail.com    * Added support <span class="keywordflow">for</span> scrollable cursors      - See section in the documentation (page &lt;module&gt;, section &lt;Fetching data&gt;)      - Added <a class="code" href="group__g__fetch.html#g81e501b509b84d999e4337e2e11a90ec" title="Fetch the previous row of the resultset.">OCI_FetchPrev</a>()      - Added <a class="code" href="group__g__fetch.html#gb2b3f30ace2a89b07dd7803c82a523e7" title="Fetch the last row of the resultset.">OCI_FetchLast</a>()      - Added <a class="code" href="group__g__fetch.html#gf26bde3f9db77231d66107af24a51d96" title="Fetch the first row of the resultset.">OCI_FetchFirst</a>()      - Added <a class="code" href="group__g__fetch.html#g99372dc21a4965ca74d8fdde2069cc10" title="Custom Fetch of the resultset.">OCI_FetchSeek</a>()      - Added <a class="code" href="group__g__stmt.html#g83e1c31e40926a84651eb60fefd50d5e" title="Set the fetch mode of a SQL statement.">OCI_SetFetchMode</a>()      - Added <a class="code" href="group__g__stmt.html#gf6035956d1fd5962753443ead90e2660" title="Return the fetch mode of a SQL statement.">OCI_GetFetchMode</a>()      - Added <a class="code" href="group__g__fetch.html#g4add0a9c53a23b334197c655b46b620c" title="Retrieve the current row number.">OCI_GetCurrentRow</a>()    * Added support <span class="keywordflow">for</span> Collection types : VARRAYs and NESTED TABLES      - Added section in the documentation (page &lt;module&gt; - section &lt;Oracle Collections (Varrays and Nested Tables)&gt;)      - Added type <a class="code" href="struct_o_c_i___coll.html" title="Oracle Collections (VARRAYs and Nested Tables) representation.">OCI_Coll</a>      - Added type <a class="code" href="struct_o_c_i___iter.html" title="Oracle Collection iterator representation.">OCI_Iter</a>      - Added type <a class="code" href="struct_o_c_i___elem.html" title="Oracle Collection item representation.">OCI_Elem</a>      - Added <a class="code" href="group__g__collection.html#g60ff6fdf0c0b8b2761ddba752ffad42b" title="Create a local collection instance.">OCI_CollCreate</a>()      - Added <a class="code" href="group__g__collection.html#g8663babe980c99ff0441feedff973912" title="Free a local collection.">OCI_CollFree</a>()      - Added <a class="code" href="group__g__collection.html#g5121ce70006885b5f45df2c764ec8d8e" title="Assign a collection to another another one.">OCI_CollAssign</a>()      - Added <a class="code" href="group__g__collection.html#g18518027318ac527c9cbefab4f16b7ba" title="Return the collection type.">OCI_CollGetType</a>()      - Added <a class="code" href="group__g__collection.html#gfdc86421c73ed6955a965097cb335a64" title="Returns the maximum number of elements of the given collection.">OCI_CollGetMax</a>()      - Added <a class="code" href="group__g__collection.html#g107e9fef3fc0bced6503e566a67dfcb5" title="Returns the current number of elements of the given collection.">OCI_CollGetSize</a>()      - Added <a class="code" href="group__g__collection.html#gc5e37e3a0fd362c8c3aa150d5cb66c51" title="Trims the given number of elements from the end of the collection.">OCI_CollTrim</a>()      - Added <a class="code" href="group__g__collection.html#g65523dc5e889b8d1e956674dd05e9b8b" title="Return the element at the given position in the collection.">OCI_CollGetAt</a>()      - Added <a class="code" href="group__g__collection.html#g5fa6e43afbe0dc39b56b52f8e09dc29a" title="Assign the given element value to the element at the given position in the collection...">OCI_CollSetAt</a>()      - Added <a class="code" href="group__g__collection.html#g8b92db49c038ae235ef85743194ace83" title="Append the given element at the end of the collection.">OCI_CollAppend</a>()      - Added <a class="code" href="group__g__bind.html#g9399dea6317fcd8d5c6d5b6282ec0d7b" title="Bind a Collection variable.">OCI_BindColl</a>()      - Added <a class="code" href="group__g__fetch.html#gef57431fc441f687418f6fedd341ce5a" title="Return the current Collection value of the column at the given index in the resultset...">OCI_GetColl</a>()      - Added <a class="code" href="group__g__fetch.html#g7b7f7f1d92939aac64de5690302e5b55" title="Return the current Collection value of the column from its name in the resultset...">OCI_GetColl2</a>()      - Added <a class="code" href="group__g__usertypes.html#ge1a5c025c74cf611e9ed4b1330b72db9" title="Return the collection value of the given object attribute.">OCI_ObjectGetColl</a>()      - Added <a class="code" href="group__g__handles.html#gc61db6d07b9e402fe60c5e4cda17fc00" title="Return OCI Collection Handle (OCIColl *) of an OCILIB OCI_Coll object.">OCI_HandleGetColl</a>()      - Added <a class="code" href="group__g__collection.html#g22abd2fab4b93cceda5de975574d1b6e" title="Create a iterator handle to iterate through a collection.">OCI_IterCreate</a>()      - Added <a class="code" href="group__g__collection.html#g9b186234fa7bfd143e2fecb126c7a8a4" title="Free a iterator handle.">OCI_IterFree</a>()      - Added <a class="code" href="group__g__collection.html#gdfd202892038306f96b043d06e795133" title="Get the next element in the collection.">OCI_IterGetNext</a>()      - Added <a class="code" href="group__g__collection.html#gd038e8b14740eba7409f6d0c5f871466" title="Get the previous element in the collection.">OCI_IterGetPrev</a>()      - Added <a class="code" href="group__g__collection.html#g277da74d3afbe9d25ae0f81fcacf545f" title="Create a local and generic collection element instance.">OCI_ElemCreate</a>()      - Added <a class="code" href="group__g__collection.html#gdf1010d812aa53c3b27d991fa47b4f98" title="Free a local collection element.">OCI_ElemFree</a>()       - Added <a class="code" href="group__g__collection.html#gedf790cac091bd7c160635ef83fe87e6" title="Return the short value of the given collection element.">OCI_ElemGetShort</a>()      - Added <a class="code" href="group__g__collection.html#g038e642f4f73ae5f18011069c1c5f452" title="Return the unsigned short value of the given collection element.">OCI_ElemGetUnsignedShort</a>()      - Added <a class="code" href="group__g__collection.html#g2d2a4783e9f727a8aaca7cd220d326cc" title="Return the int value of the given collection element.">OCI_ElemGetInt</a>()      - Added <a class="code" href="group__g__collection.html#g75421c426d3beece1dfa91246c5ebee9" title="Return the unsigned int value of the given collection element.">OCI_ElemGetUnsignedInt</a>()      - Added <a class="code" href="group__g__collection.html#g945a0b1227b6826959e697071e274e76" title="Return the big int value of the given collection element.">OCI_ElemGetBigInt</a>()      - Added <a class="code" href="group__g__collection.html#g61d675fd7130dd5ce2f79555f07a415b" title="Return the unsigned big int value of the given collection element.">OCI_ElemGetUnsignedBigInt</a>()      - Added <a class="code" href="group__g__collection.html#g2e2610880b2e3c5d9e065f4135d1ba82" title="Return the Double value of the given collection element.">OCI_ElemGetDouble</a>()      - Added <a class="code" href="group__g__collection.html#g3f37f83b33c65908812643ef68f31db1" title="Return the String value of the given collection element.">OCI_ElemGetString</a>()      - Added <a class="code" href="group__g__collection.html#gbe11c0476a8b0f2adda683fc12ad94fe" title="Read the RAW value of the collection element into the given buffer.">OCI_ElemGetRaw</a>()      - Added <a class="code" href="group__g__collection.html#g845f25da882fa8bc024480ed8cfbb1cc" title="Return the Date value of the given collection element.">OCI_ElemGetDate</a>()      - Added <a class="code" href="group__g__collection.html#gf301df8ded2f2664e413bf6c2465ead7" title="Return the Timestamp value of the given collection element.">OCI_ElemGetTimeStamp</a>()      - Added <a class="code" href="group__g__collection.html#ga0fd940d7e94aa96188ad5319cc5b9c7" title="Return the Interval value of the given collection element.">OCI_ElemGetInterval</a>()      - Added <a class="code" href="group__g__collection.html#gb57880464fceffc745cf6e1227fc30b8" title="Return the Lob value of the given collection element.">OCI_ElemGetLob</a>()      - Added <a class="code" href="group__g__collection.html#gc94f94240ce43feb4c7673cc2602f44e" title="Return the File value of the given collection element.">OCI_ElemGetFile</a>()      - Added <a class="code" href="group__g__collection.html#g2fafc0d1819eecec512e535cabcd284b" title="Return the object value of the given collection element.">OCI_ElemGetObject</a>()      - Added <a class="code" href="group__g__collection.html#g44b3f6b236db99254786a9025474861c" title="Return the collection value of the given collection element.">OCI_ElemGetColl</a>()      - Added <a class="code" href="group__g__collection.html#g5d12a942514e54a10cbf87b34a109a7a" title="Set a short value to an collection element.">OCI_ElemSetShort</a>()      - Added <a class="code" href="group__g__collection.html#g53bd289d267a761fe1ec053f6eba1ee9" title="Set a unsigned short value to an collection element.">OCI_ElemSetUnsignedShort</a>()      - Added <a class="code" href="group__g__collection.html#gb57826efaad82a06d9aba159de7dd6aa" title="Set a int value to an collection element.">OCI_ElemSetInt</a>()      - Added <a class="code" href="group__g__collection.html#g6516dd1d2e74d053c8370f1bad96c636" title="Set a unsigned int value to an collection element.">OCI_ElemSetUnsignedInt</a>()      - Added <a class="code" href="group__g__collection.html#gc4e887e4d7fa98d066b148232dd932bd" title="Set a big int value to an collection element.">OCI_ElemSetBigInt</a>()      - Added <a class="code" href="group__g__collection.html#g06839c0f5fea2f1dc9d8597aea05e658" title="Set a unsigned big_int value to an collection element.">OCI_ElemSetUnsignedBigInt</a>()      - Added <a class="code" href="group__g__collection.html#gb0438ad9c345865e8700b5de7708a0fb" title="Set a double value to an collection element.">OCI_ElemSetDouble</a>()      - Added <a class="code" href="group__g__collection.html#g79fa00247b1d950c261c568358033b53" title="Set a string value to an collection element.">OCI_ElemSetString</a>()      - Added <a class="code" href="group__g__collection.html#g6b22717e69bea385da6f93e11b6d73b5" title="Set a RAW value to an collection element.">OCI_ElemSetRaw</a>()      - Added <a class="code" href="group__g__collection.html#g4fca27ec2d4a5a9c0948527c079a996a" title="Set a collection element value to null.">OCI_ElemSetNull</a>()      - Added <a class="code" href="group__g__collection.html#g51cbf0cbad5adf8d098737c896259e6e" title="Check if the collection element value is null.">OCI_ElemIsNull</a>()              * Massive Library rewrite:      - Update OCILIB Full Name from <span class="stringliteral">"OCILIB (C Wrapper for Oracle OCI)"</span> to <span class="stringliteral">"OCILIB - C Driver for Oracle"</span>      - Split OCILIB main source file into 30 source files      - All <span class="keyword">public</span> and <span class="keyword">internal</span> functions have been partially / largely reorganized / rewritten        - Miscellaneous code optimization, enhancement and cleanup      - OCILIB source code compilation procudes zero warnings with highest warning settings of GCC and Microsoft C compiler      - Note <span class="keywordflow">for</span> GCC builds :        * OCILIB <span class="keyword">static</span>/shared libs are now bigger because of the split sources and the autotools <span class="keywordflow">default</span> CFLAG <span class="keyword">set</span> to <span class="stringliteral">"-g -02"</span>        * Stripping the library (<span class="keyword">using</span> the command strip) will make it 3 times smaller.      - Standardization of functions implementation:              * 1 - Checks

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -