aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-30Translate ORA-2049 as a timeout error and ORA-3113 as a connection lost errorConstantin Michael1-1/+3
2011-11-30Provide separate overload of translate_error for oracle::connectionConstantin Michael4-33/+46
2011-11-30Correct OCI autoconf m4 scriptConstantin Michael1-1/+0
2011-11-30Use sb4 as error code type instead of int in database_exceptionConstantin Michael2-9/+9
2011-11-30Improve the Oracle translate_error implementationConstantin Michael9-69/+261
The improved implementation scans all the records associated with an error handle. Furthermore, if it is established that the connection to the database has been lost, the connection is marked as such. Additionally, all special exceptions (deadlock, timeout, and connection_lost) are now supported.
2011-11-30Merge LOB callback function and context into structBoris Kolpackov2-27/+27
This allows us to have one less member in the bind struct.
2011-11-30Remove unnecessary, add missing includesBoris Kolpackov1-1/+2
2011-11-29Don't add -R option when searching for libociBoris Kolpackov1-3/+3
While this helps with the libodb-oracle, this still break when linking tests/examples. The correct way to resolve this is for the user to add the directory to LD_LIBRARY_PATH.
2011-11-29Remove unused indicator arrays from view/container statementsBoris Kolpackov5-48/+0
2011-11-28Add -R option in addition to -L for libociBoris Kolpackov1-3/+3
libclntsh.so depends on other Oracle libraries which are normally not installed and no LD_LIBRARY_PATH entry points to their directory. Adding -R option makes libtool add this directory to rpath search list.
2011-11-28Shorten argument name in optionsBoris Kolpackov1-1/+1
2011-11-28Add missing version.hxx include; correct export macroBoris Kolpackov1-0/+1
2011-11-28Corrections to OCI automake configuration scriptsConstantin Michael3-8/+16
2011-11-28Add automake and Visual Studio build filesConstantin Michael19-0/+1694
2011-11-28Export appropriate classes and structsConstantin Michael1-6/+9
2011-11-28Correct libarray import/export macroConstantin Michael1-1/+1
2011-11-18Add missing factory creation codeBoris Kolpackov1-0/+5
2011-11-18Check whether LOBs have been encountered before setting OCI_ATTR_MAXDATA_SIZEConstantin Michael1-2/+5
2011-11-18Correct license in file headersConstantin Michael3-3/+3
2011-11-18Explicitly set the OCI_ATTR_MAXDATA_SIZE attribute to avoid ORA-24816 errorConstantin Michael1-1/+20
2011-11-17Remove unnecessary forward declarationBoris Kolpackov1-1/+0
2011-11-17Remove unnecessary includesBoris Kolpackov5-8/+0
2011-11-17Cosmetic changeBoris Kolpackov1-1/+1
2011-11-17Move details/number.hxx include to source fileBoris Kolpackov2-1/+2
2011-11-16Allocate position context in lob struct instead of in LOB imageConstantin Michael3-5/+5
2011-11-16Refactor LOB descriptor, callback context, and temporary buffer handlingConstantin Michael3-101/+120
Due to image sharing amongst container statements, LOB binding placeholders cannot be shared between parameter and result versions of a bind.
2011-11-16Use Oracle NUMBER to store returning ID value in 32-bit insert statement implConstantin Michael2-11/+22
2011-11-16Interpret NULL bind::indicator pointer as a non-NULL value indicatorConstantin Michael2-36/+32
2011-11-16Minor fixes to OCI import stubBoris Kolpackov1-3/+4
2011-11-16Allow Instant Client installation to be specified during configurationConstantin Michael2-7/+46
2011-11-16Initialize datetime fields to valid values on constructionConstantin Michael1-2/+10
2011-11-16Fix misspelled file nameBoris Kolpackov2-5/+5
2011-11-16Add missing comma in option documentationBoris Kolpackov1-1/+1
2011-11-11Use OCI_DEFINE_SOFT in OCIDefineByPos when rebindingBoris Kolpackov1-1/+1
2011-11-10Add descriptor management flags for TIMESTAMP and INTERVAL image typesBoris Kolpackov5-285/+636
For a query expression that has only by-value parameters, we guarantee that it can be used by multiple threads. However, the way we handle TIMESTAMP and INTERVAL types now requires the modification of the image during query execution. To resolve this, the datetime, interval_ym, and interval_ds image types now have flags that allow the query implementation to avoid the modification.
2011-11-10Cosmetic changesBoris Kolpackov1-4/+4
2011-11-10Set LOB parameter capacity in runtime instead of in generated codeConstantin Michael1-0/+8
2011-11-09Avoid copying statement text if it is statically allocatedBoris Kolpackov2-27/+146
2011-11-08Add support for SQL statement tracingBoris Kolpackov11-154/+472
2011-11-08Stylistic fixesBoris Kolpackov1-3/+3
2011-11-08Use OraText instead of text or oratextBoris Kolpackov3-6/+7
This type is used in function signatures in documentation.
2011-11-08Make get() and conversion operator for auto-handle/descriptor constBoris Kolpackov1-6/+6
2011-11-08Restore LOB prefetch resetting code (again)Boris Kolpackov1-2/+33
2011-11-08Stylistic changesConstantin Michael1-4/+4
2011-11-08Modify Oracle DATE helper functions for consistencyConstantin Michael1-3/+3
2011-11-08Update commentsConstantin Michael1-9/+7
2011-11-08Improve INTERVAL and TIMESTAMP descriptor type manipulationConstantin Michael3-139/+218
2011-11-08Make dt_default enumeration member the last in the setConstantin Michael2-3/+3
2011-11-08Pass LOB capacity using bind::capacity member instead of deriving at run-timeConstantin Michael1-3/+1
2011-11-08Implement support for Oracle temporal typesConstantin Michael9-219/+865