aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/oracle-types.hxx
AgeCommit message (Collapse)AuthorFilesLines
2020-02-13Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-05-24Update copyright yearKaren Arutyunov1-1/+1
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2014-11-26Reimplement image copying for OracleBoris Kolpackov1-40/+41
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-1/+2
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-1/+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-12Cosmetic changesBoris Kolpackov1-2/+5
2011-12-22Rename *_chunk to chunk_* enumerators in Oracle for consistencyBoris Kolpackov1-4/+4
2011-11-30Merge LOB callback function and context into structBoris Kolpackov1-14/+12
This allows us to have one less member in the bind struct.
2011-11-30Remove unnecessary, add missing includesBoris Kolpackov1-1/+2
2011-11-16Allocate position context in lob struct instead of in LOB imageConstantin Michael1-2/+2
2011-11-16Refactor LOB descriptor, callback context, and temporary buffer handlingConstantin Michael1-33/+16
Due to image sharing amongst container statements, LOB binding placeholders cannot be shared between parameter and result versions of a bind.
2011-11-16Interpret NULL bind::indicator pointer as a non-NULL value indicatorConstantin Michael1-10/+2
2011-11-16Initialize datetime fields to valid values on constructionConstantin Michael1-2/+10
2011-11-10Add descriptor management flags for TIMESTAMP and INTERVAL image typesBoris Kolpackov1-99/+47
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-08Update commentsConstantin Michael1-9/+7
2011-11-08Improve INTERVAL and TIMESTAMP descriptor type manipulationConstantin Michael1-71/+72
2011-11-08Implement support for Oracle temporal typesConstantin Michael1-8/+205
2011-11-03Add position context to LOB result callbackBoris Kolpackov1-5/+9
It turns out position context can be useful in result handling as well.
2011-11-01Store the OCIDefine handle for LOB result parameters and reuse it on rebindingConstantin Michael1-1/+3
2011-11-01Implement change callbacks for object_result and view_resultConstantin Michael1-3/+1
2011-11-01Implement lob_auto_descriptorConstantin Michael1-3/+35
2011-11-01Implement query image change callback machineryConstantin Michael1-0/+12
2011-10-17Allocate LOB manipulation buffer in connection instance instead of in imageConstantin Michael1-4/+4
2011-10-14Correct the LOB callback aspects of the bind mechanismConstantin Michael1-2/+8
The parameter callback context must be const qualified. This is both sensible and necessary to avoid unecessary casts in the generated code during image manipulation. The result callback context must not be const qualified as the result callback should be permitted to modify it. Both the callback and context members of the bind structure must be pointers to the relevant union types in order for the binding mechanism to work correctly.
2011-10-14Const qualify buffer argument in parameter callback function signatureConstantin Michael1-2/+4
2011-10-14Add a RAW buffer typeConstantin Michael1-0/+1
This is required as OCI performs character set specific operations on string data. RAW data has no associated character set.
2011-10-14Use an auto_descriptor pointer to manage a bound result LOBConstantin Michael1-1/+2
This simplifies resource management in the generated code.
2011-10-07Correct commentConstantin Michael1-2/+1
2011-09-29Implement custom bind buffer type identifiers.Constantin Michael1-11/+39
This allows for the association of a character set with a character data buffer, something that is impossible using only OCI external typecodes.
2011-09-27Pass parameter callback user context as a const void*Constantin Michael1-1/+1
This avoids usage of const_cast when manipulating the const qualified values in set_image functions within the traits implementations.
2011-09-23Refactor callback union declaration to odb::oracle namespace scopeConstantin Michael1-5/+7
2011-09-19Reword commentsConstantin Michael1-4/+4
2011-09-16Corrections to LOB parameter and results callback implementationConstantin Michael1-36/+38
2011-09-14Corrections and additions to LOB parameter and results callback implementationConstantin Michael1-22/+28
2011-09-14Implement LOB result callbacks using OCI LOB interfaceConstantin Michael1-9/+7
2011-09-13Implement LOB read and write support using OCI callbacksConstantin Michael1-6/+50
2011-09-08Aesthetic changesConstantin Michael1-4/+3
2011-09-07Add bind structuresConstantin Michael1-0/+34