aboutsummaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2012-01-12Implement callback data re-basing support for LOB result streamingBoris Kolpackov4-17/+82
This is used by the query machinery when a copy of the image has to be made. In this case stream_result() needs to use data from the copy of the image, and not from the image that was bound to the bind array.
2012-01-12Use typedef name instead of qualifying in multiple placesBoris Kolpackov4-6/+12
2012-01-12Cosmetic changesBoris Kolpackov4-3/+18
2012-01-12Remove unneeded #includeBoris Kolpackov1-1/+0
2012-01-12Add missing #includeBoris Kolpackov1-0/+2
2011-12-22Truncate excess data instead of asserting, make small functions inlineBoris Kolpackov2-94/+51
2011-12-22Rename *_chunk to chunk_* enumerators in Oracle for consistencyBoris Kolpackov4-29/+29
2011-12-21Do not select object id in container SELECT statementBoris Kolpackov2-14/+22
2011-12-21Cosmetic changesBoris Kolpackov1-3/+0
2011-12-06Use extern "C" for OCI callbacks to avoid warnings (Sun CC)Boris Kolpackov1-31/+32
2011-12-06Remove stray commas1.7.0Boris Kolpackov2-2/+2
2011-12-05Bump version to 1.7.0Boris Kolpackov1-3/+3
2011-12-01Correct license informationBoris Kolpackov1-1/+1
2011-12-01Remove comments that don't apply anymoreBoris Kolpackov1-5/+0
2011-11-30Make exception text more descriptiveBoris Kolpackov1-1/+1
2011-11-30Optimize checking for connection statusBoris Kolpackov1-31/+38
2011-11-30Cosmetic changesBoris Kolpackov2-31/+37
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-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-29Remove unused indicator arrays from view/container statementsBoris Kolpackov5-48/+0
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 Michael1-1/+1
2011-11-28Add automake and Visual Studio build filesConstantin Michael4-0/+568
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-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-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