aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/statement.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-02-13Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-06-07Get rid of VC 'possible loss of data' warningsKaren Arutyunov1-1/+1
2018-05-24Update copyright yearKaren Arutyunov1-1/+1
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2015-07-15Implement SQLite incremental BLOB/TEXT I/OBoris Kolpackov1-8/+8
2015-02-08Initialize value to pacify VC12Boris Kolpackov1-1/+1
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2014-11-26Reimplement image copying for OracleBoris Kolpackov1-183/+13
Now we no longer "steal" descriptors (destructive copy). Instead, for LOBs, we clone the locator using OCILobAssign(). For date-time types we extract the data during copying. As a result of this change we no longer need to track image changes and rebind the statements.
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov1-327/+649
2014-09-19Call tracer::prepare() before actually preparing statementBoris Kolpackov1-9/+21
This way we give the user the ability to see an invalid statement that would cause the preparation step to fail.
2013-09-10Schema versioning supportBoris Kolpackov1-47/+176
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-10-12Completion of prepared query supportBoris Kolpackov1-14/+22
2012-10-08Fix issue with unbind data management in query with descriptorsBoris Kolpackov1-17/+14
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-1/+1
2012-03-07Use RAII to free select statement resultsBoris Kolpackov1-3/+0
2012-03-01Include C-headers before C++Boris Kolpackov1-2/+2
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2012-01-12Implement callback data re-basing support for LOB result streamingBoris Kolpackov1-11/+47
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.
2011-12-22Rename *_chunk to chunk_* enumerators in Oracle for consistencyBoris Kolpackov1-7/+7
2011-12-06Use extern "C" for OCI callbacks to avoid warnings (Sun CC)Boris Kolpackov1-31/+32
2011-11-30Provide separate overload of translate_error for oracle::connectionConstantin Michael1-11/+11
2011-11-30Improve the Oracle translate_error implementationConstantin Michael1-11/+11
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 Kolpackov1-13/+15
This allows us to have one less member in the bind struct.
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-17Move details/number.hxx include to source fileBoris Kolpackov1-0/+2
2011-11-16Allocate position context in lob struct instead of in LOB imageConstantin Michael1-1/+1
2011-11-16Refactor LOB descriptor, callback context, and temporary buffer handlingConstantin Michael1-68/+66
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 Michael1-7/+11
2011-11-16Interpret NULL bind::indicator pointer as a non-NULL value indicatorConstantin Michael1-26/+30
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 Kolpackov1-121/+324
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 Kolpackov1-20/+104
2011-11-08Add support for SQL statement tracingBoris Kolpackov1-3/+230
2011-11-08Stylistic fixesBoris Kolpackov1-3/+3
2011-11-08Use OraText instead of text or oratextBoris Kolpackov1-1/+1
This type is used in function signatures in documentation.
2011-11-08Restore LOB prefetch resetting code (again)Boris Kolpackov1-2/+33
2011-11-08Improve INTERVAL and TIMESTAMP descriptor type manipulationConstantin Michael1-12/+12
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 Michael1-180/+382
2011-11-03Add position context to LOB result callbackBoris Kolpackov1-0/+2
It turns out position context can be useful in result handling as well.
2011-11-02Revert previous commit: failing to reset lob prefetch size leads to ORA-03106Boris Kolpackov1-0/+27
2011-11-01Do not reset the lob prefetch buffer size while rebinding result parametersConstantin Michael1-23/+0
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-3/+2
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-11-01Rework statement interfaces wrt param/result passingBoris Kolpackov1-32/+29