Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-20 | Aesthetic changes | Constantin Michael | 1 | -2/+2 | |
2011-10-20 | Use SQLT_NUM instead of SQLT_VNU OCI type due to inconsistent buffer lengths | Constantin Michael | 1 | -2/+2 | |
The size returned by OCI into the bound rlen parameter of a SQLT_VNU buffer does not include the additional length byte. This causes problems with images that are shared across multiple statements in ODB, such as the object_id image of containers. | |||||
2011-10-20 | Do not throw on a unique constraint violation during an insert | Constantin Michael | 1 | -1/+13 | |
2011-10-20 | Correct bind offset error arising due to OCI using 1 based indices | Constantin Michael | 1 | -1/+1 | |
2011-10-20 | Correct usage of details::buffer instance during callbacks and LOB streaming | Constantin Michael | 1 | -9/+19 | |
2011-10-17 | Allocate LOB manipulation buffer in connection instance instead of in image | Constantin Michael | 1 | -13/+23 | |
2011-10-14 | Correct the LOB callback aspects of the bind mechanism | Constantin Michael | 1 | -13/+12 | |
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-14 | Correct logic used to indicate exhaustion of query result data | Constantin Michael | 1 | -2/+4 | |
2011-10-14 | Small bug fixes and aesthetic changes | Constantin Michael | 1 | -8/+10 | |
2011-10-14 | Const qualify buffer argument in parameter callback function signature | Constantin Michael | 1 | -1/+1 | |
2011-10-14 | Adhere to OCI recommendations for unused arguments when binding callbacks | Constantin Michael | 1 | -6/+7 | |
2011-10-14 | Create separate OCI buffer type lookups for parameter and result buffers | Constantin Michael | 1 | -6/+26 | |
This is required due to the asymmetric manner in which LOB types are persisted to and loaded from the database. | |||||
2011-10-14 | Add a RAW buffer type | Constantin Michael | 1 | -12/+13 | |
This is required as OCI performs character set specific operations on string data. RAW data has no associated character set. | |||||
2011-10-14 | Use an auto_descriptor pointer to manage a bound result LOB | Constantin Michael | 1 | -1/+27 | |
This simplifies resource management in the generated code. | |||||
2011-10-06 | Add comments | Constantin Michael | 1 | -0/+5 | |
2011-09-29 | Add assertion for mismatch of result set column count | Constantin Michael | 1 | -2/+14 | |
This is useful for detecting native views that happen to have stray data members. | |||||
2011-09-29 | Implement custom bind buffer type identifiers. | Constantin Michael | 1 | -11/+64 | |
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-27 | Add sanity check for integer buffer capacity in OCI versions earlier than 11.2 | Constantin Michael | 1 | -0/+20 | |
2011-09-23 | Correct missing variable declaration | Constantin Michael | 1 | -0/+1 | |
2011-09-23 | Correct comment | Constantin Michael | 1 | -4/+4 | |
2011-09-21 | Improve LOB streaming in select statement | Constantin Michael | 1 | -32/+10 | |
Passing 0 as an initial read amount to OCILobRead2 initiates a continuous polling mode. Once the EOF has been read, OCILobRead2 will return indicating success. | |||||
2011-09-19 | Refactor stream_lobs so that base statement class does not maintain state | Constantin Michael | 1 | -22/+29 | |
2011-09-16 | Allow select statement without parameters | Constantin Michael | 1 | -1/+12 | |
2011-09-16 | Corrections to LOB parameter and results callback implementation | Constantin Michael | 1 | -122/+111 | |
2011-09-14 | Corrections and additions to LOB parameter and results callback implementation | Constantin Michael | 1 | -75/+134 | |
2011-09-14 | Implement LOB result callbacks using OCI LOB interface | Constantin Michael | 1 | -98/+145 | |
2011-09-13 | Implement LOB read and write support using OCI callbacks | Constantin Michael | 1 | -20/+140 | |
2011-09-13 | Revert to previous select statement interface | Constantin Michael | 1 | -14/+12 | |
2011-09-08 | Implement SQLite style select statement interface | Constantin Michael | 1 | -39/+32 | |
2011-09-08 | Correct void* casts | Constantin Michael | 1 | -5/+5 | |
2011-09-08 | Rename RETURNING clause callbacks | Constantin Michael | 1 | -19/+19 | |
2011-09-08 | Cache error handles where necessary | Constantin Michael | 1 | -17/+28 | |
2011-09-08 | Use OCI_STRLS_CACHE_DELETE release mode for select, insert, update, and delete | Constantin Michael | 1 | -1/+1 | |
2011-09-08 | Correct OCI version detection macros | Constantin Michael | 1 | -7/+6 | |
2011-09-08 | Rename insert_statement::id_bind_type union members | Constantin Michael | 1 | -6/+6 | |
2011-09-08 | Add bind array offset argument to statement::bind_param | Constantin Michael | 1 | -6/+7 | |
This allows for specification of non-contiguous bind arrays in multiple calls to bind_param for the same statement. | |||||
2011-09-07 | Add implementations for insert, update, delete, and select statements | Constantin Michael | 1 | -0/+444 | |