📄 index.html
字号:
- See section in the documentation (page <module>, section <Installation>) - Added configure option : --with-oracle-headers-path - Added configure option : --with-oracle-lib-path * Extended OCILIB documentation: - Added "Installation" page - All examples have been checked, updated, corrected and extended - All examples are now provided as full programs sources code * Added more demo source code - 26 full application sources codes are now provided in the ocilib/demo directory - Theses application examples are now integrated in the OCILIB documentation * Misc: - Added const qualifier to return values of OCI_HandleXXX() calls - Fixed parameter checking in some OCI_ObjectXXX() calls2008-04-24 Version 2.4.0 Vincent Rogier vince.rogier@gmail.com * Extended support for handling all integers types - Added type big_int (64bits <span class="keywordtype">long</span> <span class="keywordtype">long</span> if supported or <span class="keywordtype">int</span> if 64bits integers not available) - Added support for shorts - Added support for <span class="keywordtype">unsigned</span> integers (<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> and <span class="keywordtype">unsigned</span> big_int) - Automatic conversion between integer types whenever possible - Removed lobsize_t : Lob calls are using now the type big_uint * Added public interface for <span class="keywordtype">short</span> type - Added <a class="code" href="group__g__bind.html#ga634e246d0b6af055545a49e0eae6aba" title="Bind an short variable.">OCI_BindShort</a>() - Added <a class="code" href="group__g__bind.html#gc1912a193654d5c3155d2a7a49f82bff" title="Bind an array of shorts.">OCI_BindArrayOfShorts</a>() - Added <a class="code" href="group__g__fetch.html#geb764f2f4929df12d7293df195ebed8f" title="Return the current short value of the column at the given index in the resultset...">OCI_GetShort</a>() - Added <a class="code" href="group__g__fetch.html#g297af7ed5b628630ecf385d0d11d4a44" title="Return the current short value of the column from its name in the resultset.">OCI_GetShort2</a>() - Added <a class="code" href="group__g__ora__ret.html#ge71203b063524c86e3a359cac74cbec4" title="Register an short output bind placeholder.">OCI_RegisterShort</a>() - Added <a class="code" href="group__g__usertypes.html#gbeb0db1bb555a25b3012838aae3b9d11" title="Return the short value of the given object attribute.">OCI_ObjectGetShort</a>() - Added <a class="code" href="group__g__usertypes.html#ge9cb55a996c1a60ba18e2a09095d2952" title="Set an object attribute of type short.">OCI_ObjectSetShort</a>() * Added public interface for <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> type - Added <a class="code" href="group__g__bind.html#gbab9a06330466afe72efad7379b0235e" title="Bind an unsigned short variable.">OCI_BindUnsignedShort</a>() - Added <a class="code" href="group__g__bind.html#g390daed1f42a83ca070b625306e4b293" title="Bind an array of unsigned shorts.">OCI_BindArrayOfUnsignedShorts</a>() - Added <a class="code" href="group__g__fetch.html#g4806cb6d6ead3a3ef04be924517aee1c" title="Return the current unsigned short value of the column at the given index in the resultset...">OCI_GetUnsignedShort</a>() - Added <a class="code" href="group__g__fetch.html#g8b39660ff167dda0d0a0a32d4bc673c3" title="Return the current unsigned short value of the column from its name in the resultset...">OCI_GetUnsignedShort2</a>() - Added <a class="code" href="group__g__ora__ret.html#g93c01ee07b5960ea8f022cea9e9f89c5" title="Register an unsigned short output bind placeholder.">OCI_RegisterUnsignedShort</a>() - Added <a class="code" href="group__g__usertypes.html#gd3b4fbb26ad147d477a9865fffa318f7" title="Return the unsigned short value of the given object attribute.">OCI_ObjectGetUnsignedShort</a>() - Added <a class="code" href="group__g__usertypes.html#g261a9f4502967d2044012804ffb75c7b" title="Set an object attribute of type unsigned short.">OCI_ObjectSetUnsignedShort</a>() * Added public interface for <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> type - Added <a class="code" href="group__g__bind.html#gaaed296bca244acc22d4f0d2f07e63b9" title="Bind an unsigned integer variable.">OCI_BindUnsignedInt</a>() - Added <a class="code" href="group__g__bind.html#g112a5b357b526492a5e85fa2f0cc55da" title="Bind an array of unsigned integers.">OCI_BindArrayOfUnsignedInts</a>() - Added <a class="code" href="group__g__fetch.html#g512a69f1856c612a2c2ee672d8e69dc6" title="Return the current unsigned integer value of the column at the given index in the...">OCI_GetUnsignedInt</a>() - Added <a class="code" href="group__g__fetch.html#ge9ec2ccf47d436154277c3c58ef6991a" title="Return the current unsigned integer value of the column from its name in the resultset...">OCI_GetUnsignedInt2</a>() - Added <a class="code" href="group__g__ora__ret.html#g06c65bd343bdd68860be0ea52f6b0762" title="Register an unsigned integer output bind placeholder.">OCI_RegisterUnsignedInt</a>() - Added <a class="code" href="group__g__usertypes.html#g689f788d7a209d771e3bd58df9e2d107" title="Return the unsigned integer value of the given object attribute.">OCI_ObjectGetUnsignedInt</a>() - Added <a class="code" href="group__g__usertypes.html#gf90ffbfb19d95ad0272c1e5007e95226" title="Set an object attribute of type unsigned int.">OCI_ObjectSetUnsignedInt</a>() * Added public interface for big_int type - Added <a class="code" href="group__g__bind.html#gcdaf2a1e36d9d79d2a0548b6f892b3a3" title="Bind an big integer variable.">OCI_BindBigInt</a>() - Added <a class="code" href="group__g__bind.html#g48fc61bc85c747270f3013a11b1fab03" title="Bind an array of big integers.">OCI_BindArrayOfBigInts</a>() - Added <a class="code" href="group__g__fetch.html#gbb1a223e75c676289d69c65b43d81b6a" title="Return the current big integer value of the column at the given index in the resultset...">OCI_GetBigInt</a>() - Added <a class="code" href="group__g__fetch.html#g6f7f99ebbab63d662dbcabafadcf70a2" title="Return the current big integer value of the column from its name in the resultset...">OCI_GetBigInt2</a>() - Added <a class="code" href="group__g__ora__ret.html#g388cf8174d0c7d6e8cbba573dfe3a73b" title="Register a big integer output bind placeholder.">OCI_RegisterBigInt</a>() - Added <a class="code" href="group__g__usertypes.html#gb54b3d47511ea08681f17469bd67a8be" title="Return the big integer value of the given object attribute.">OCI_ObjectGetBigInt</a>() - Added <a class="code" href="group__g__usertypes.html#g345e271c4a631c57c034477136f564ed" title="Set an object attribute of type big int.">OCI_ObjectSetBigInt</a>() * Added public interface for big_uint type (<span class="keywordtype">unsigned</span> big_int) - Added <a class="code" href="group__g__bind.html#gaa329e0d17c690fb13fc28374338c238" title="Bind an unsigned big integer variable.">OCI_BindUnsignedBigInt</a>() - Added <a class="code" href="group__g__bind.html#g73f989c2c40b46e8566ae0d5926ff6d1" title="Bind an array of unsigned big integers.">OCI_BindArrayOfUnsignedBigInts</a>() - Added <a class="code" href="group__g__fetch.html#gefc3d8c3925c76c16cd1c4699e2ad9ef" title="Return the current unsigned big integer value of the column at the given index in...">OCI_GetUnsignedBigInt</a>() - Added <a class="code" href="group__g__fetch.html#gdc3a12c431896d5239c6d051f4778cf9" title="Return the current unsigned big integer value of the column from its name in the...">OCI_GetUnsignedBigInt2</a>() - Added <a class="code" href="group__g__ora__ret.html#gf4c5515f39b2f29dea9b007bd623006f" title="Register an unsigned big integer output bind placeholder.">OCI_RegisterUnsignedBigInt</a>() - Added <a class="code" href="group__g__usertypes.html#g73200e2bdceefd839151825b2dcdfdc2" title="Return the unsigned big integer value of the given object attribute.">OCI_ObjectGetUnsignedBigInt</a>() - Added <a class="code" href="group__g__usertypes.html#gcfed364b260583a3f444c9e63a124421" title="Set an object attribute of type unsigned big int.">OCI_ObjectSetUnsignedBigInt</a>() * Extended Object type informations - Added <a class="code" href="group__g__timestamp.html#ga6a59f18f308bd55841654bd66c6cee6" title="Return the type of the given Timestamp object.">OCI_TimestampGetType</a>() - Added <a class="code" href="group__g__timestamp.html#g29704a6c17b3938c63988edc6364907e" title="Return the type of the given Interval object.">OCI_IntervalGetType</a>() - Added constant OCI_UNKNOWN - Removed OCI_SCHEMA_UNKNOWN, OCI_CDT_UNKNOWN, OCI_HASH_UNKNOWN, OCI_ERR_UNKNOWN, OCI_CST_UNDEFINED - Use instead OCI_UNKNOWN * Added prebuilt binaries for MS Windows 64bits - Renamed package ocilib-x.y.z.win32.zip => ocilib-x.y.z.windows.zip - Renamed folder lib -> lib32 (for 32bits binaries) - Added folder lib64 (for 64 bits binaries) - DLL projects for VS2005 and 2008 are provided - DLL are compiled with C99 <span class="keywordtype">long</span> <span class="keywordtype">long</span> type enabled (as before, it's just a reminder) - Removed compiled demo binaries from the package to reduce archive size that was increased with 64bits binaries * Extended Error handling - Added : OCI_Initialize() with OCI runtime loading build option raises now an error if OCI shared library cannot be loaded - Added : OCI_Initialize() with OCI_CHARSET_UNICODE and Oracle client 8 raises now an error (Oracle 8i cannot handle Unicode metadata strings) - Added : OCI_xxxFmt() calls raise now an error if a format identifier is invalid - Added : OCI_Immediatexxx() calls raise now an error if the type value is not an OCI_ARG_XXX constant - Modified : Internal error functions (added OCI_ErrorGeneric()) * Modified <a class="code" href="group__g__format.html#g85318e359913e49d5654d2f53a070ef7" title="Perform 3 calls (prepare+execute+fetch) in 1 call.">OCI_Immediate</a>() and <a class="code" href="group__g__format.html#g845524c6dce7499a0cc27488052a93c2" title="Performs 4 call (prepare+bind+execute+fetch) in 1 call.">OCI_ImmediateFmt</a>() - Extended type safety (public interface modifications) : * For output placeholders, you have to pass NOW one of the OCI_ARG_xxx constant to tell OCILIB the type the placeholder pointer * Every placeholder pointer has to be preceded by the type constant * Example : <a class="code" href="group__g__format.html#g85318e359913e49d5654d2f53a070ef7" title="Perform 3 calls (prepare+execute+fetch) in 1 call.">OCI_Immediate</a>(st, "select int_col, str_col from my_table", OCI_ARG_INT, &my_int, OCI_ARG_TEXT, my_text); * Output placeholders : support NOW for <span class="keywordtype">short</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, big_int, big_uint * Updated section in the documentation (page <module>, section <Formatted functions>) - Fixed : For <a class="code" href="group__g__format.html#g845524c6dce7499a0cc27488052a93c2" title="Performs 4 call (prepare+bind+execute+fetch) in 1 call.">OCI_ImmediateFmt</a>(), temporary Statement <span class="keywordtype">object</span> was not freed (line commented in 2.3.0 with no reasons !) - Fixed : If internal <a class="code" href="group__g__fetch.html#g755a9b07c174feacd05c86e0e44b0ab0" title="Return the current string value of the column at the given index in the resultset...">OCI_GetString</a>() returned NULL, a segmentation fault could happen - Modified : No check was done on scalar C type placeholder pointers nullity (possible source of seg fault) - Modified : <a class="code" href="struct_o_c_i___date.html" title="Oracle internal date representation.">OCI_Date</a> handling was not updated with v2.3.0 modifications - Modified : <a class="code" href="struct_o_c_i___long.html" title="Oracle Long datatype.">OCI_Long</a> and <a class="code" href="struct_o_c_i___statement.html" title="Oracle SQL or PL/SQL statement.">OCI_Statement</a> handling was not removed as stated in the changelog of v2.3.0 - Modified : Factorization of the 2 functions code
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -