aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2011-11-03Add support for mapping char[N] and unsigned char[N] types to BLOB1.7.0.a1Boris Kolpackov3-4/+249
New test: common/blob.
2011-11-03Use consistent context argument name in param and result callbacksBoris Kolpackov1-8/+8
2011-11-03Use correct image type for RAW type traitsBoris Kolpackov1-2/+2
2011-11-03Add position context to LOB result callbackBoris Kolpackov4-11/+29
It turns out position context can be useful in result handling as well.
2011-11-03Add support for mapping std::vector<unsigned char> to BLOB typesBoris Kolpackov2-1/+152
2011-11-02Bump version to 1.7.0.a1Boris Kolpackov2-4/+4
2011-11-02Optimize load_id(), load() sequence for SQLite and PostgreSQLBoris Kolpackov2-2/+2
In these databases both of these functions load the data into the object image. If there is no chance of image overwrite between these calls, then we don't need to load the image the second time.
2011-11-02Use image copy in load_id()Boris Kolpackov1-1/+2
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 Kolpackov4-11/+91
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-11-01Rework statement interfaces wrt param/result passingBoris Kolpackov4-53/+59
2011-11-01Immediately specify a query as done if on execution the result set is emptyConstantin Michael1-1/+1
2011-11-01Check for change_callback ownership prior to modifying the imageConstantin Michael2-38/+82
2011-11-01Store the OCIDefine handle for LOB result parameters and reuse it on rebindingConstantin Michael2-2/+11
2011-11-01Correct placeholder variable type used in call to OCIAttrSetConstantin Michael1-2/+6
2011-11-01Implement change callbacks for object_result and view_resultConstantin Michael10-13/+238
2011-11-01Implement lob_auto_descriptorConstantin Michael2-5/+37