aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/statement.hxx
AgeCommit message (Collapse)AuthorFilesLines
2015-02-11Rearrange inline function order to help MinGW2.4.0Boris Kolpackov1-3/+28
On MinGW, if a DLL-exported inline function is called before it is known to be inline, the compiler issues a warning.
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2014-11-26Reimplement image copying for OracleBoris Kolpackov1-13/+0
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-38/+200
2013-09-10Schema versioning supportBoris Kolpackov1-7/+48
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-11-29Namespace management for static multi-database supportBoris Kolpackov1-2/+1
Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::<db>::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::<db>::core just like for odb::core.
2012-10-12Completion of prepared query supportBoris Kolpackov1-15/+28
2012-10-08Fix issue with unbind data management in query with descriptorsBoris Kolpackov1-2/+3
2012-03-07Use RAII to free select statement resultsBoris Kolpackov1-0/+13
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-3/+15
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-11-17Cosmetic changeBoris Kolpackov1-1/+1
2011-11-17Move details/number.hxx include to source fileBoris Kolpackov1-1/+0
2011-11-16Use Oracle NUMBER to store returning ID value in 32-bit insert statement implConstantin Michael1-4/+11
2011-11-10Add descriptor management flags for TIMESTAMP and INTERVAL image typesBoris Kolpackov1-0/+9
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-09Avoid copying statement text if it is statically allocatedBoris Kolpackov1-7/+42
2011-11-08Add support for SQL statement tracingBoris Kolpackov1-3/+31
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-1/+2
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-11-01Rework statement interfaces wrt param/result passingBoris Kolpackov1-17/+16
2011-11-01Implement change callbacks for object_result and view_resultConstantin Michael1-0/+13
2011-09-19Refactor stream_lobs so that base statement class does not maintain stateConstantin Michael1-4/+8
2011-09-16Allow select statement without parametersConstantin Michael1-0/+6
2011-09-16Corrections to LOB parameter and results callback implementationConstantin Michael1-10/+12
2011-09-14Corrections and additions to LOB parameter and results callback implementationConstantin Michael1-1/+3
2011-09-14Implement LOB result callbacks using OCI LOB interfaceConstantin Michael1-6/+7
2011-09-13Implement LOB read and write support using OCI callbacksConstantin Michael1-0/+6
2011-09-13Revert to previous select statement interfaceConstantin Michael1-45/+6
2011-09-08Implement SQLite style select statement interfaceConstantin Michael1-7/+36
2011-09-08Update commentsConstantin Michael1-8/+14
2011-09-08Rename insert_statement::id_bind_type union membersConstantin Michael1-2/+2
2011-09-08Add bind array offset argument to statement::bind_paramConstantin Michael1-3/+1
This allows for specification of non-contiguous bind arrays in multiple calls to bind_param for the same statement.
2011-09-07Add implementations for insert, update, delete, and select statementsConstantin Michael1-0/+182