Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-02 | Revert previous commit: failing to reset lob prefetch size leads to ORA-03106 | Boris Kolpackov | 1 | -0/+27 | |
2011-11-01 | Do not reset the lob prefetch buffer size while rebinding result parameters | Constantin Michael | 1 | -23/+0 | |
2011-11-01 | Implement support for optimistic concurrency | Boris Kolpackov | 4 | -11/+91 | |
New pragmas: optimistic, version. New test: optimistic. New database function: reload(). | |||||
2011-11-01 | Rework statement interfaces wrt param/result passing | Boris Kolpackov | 4 | -53/+59 | |
2011-11-01 | Immediately specify a query as done if on execution the result set is empty | Constantin Michael | 1 | -1/+1 | |
2011-11-01 | Check for change_callback ownership prior to modifying the image | Constantin Michael | 2 | -38/+82 | |
2011-11-01 | Store the OCIDefine handle for LOB result parameters and reuse it on rebinding | Constantin Michael | 2 | -2/+11 | |
2011-11-01 | Correct placeholder variable type used in call to OCIAttrSet | Constantin Michael | 1 | -2/+6 | |
2011-11-01 | Implement change callbacks for object_result and view_result | Constantin Michael | 10 | -13/+238 | |
2011-11-01 | Implement lob_auto_descriptor | Constantin Michael | 2 | -5/+37 | |
2011-11-01 | Implement query image change callback machinery | Constantin Michael | 5 | -1/+27 | |
2011-10-27 | Make sure output directory exist before generating config.h | Boris Kolpackov | 1 | -1/+1 | |
2011-10-27 | Add support for persistent classes without object ids | Boris Kolpackov | 9 | -48/+304 | |
New pragma id (object). New test: common/no-id. | |||||
2011-10-27 | Correct point at which stream_result() is called | Boris Kolpackov | 1 | -1/+1 | |
2011-10-27 | Add missing stream_result() call | Boris Kolpackov | 1 | -0/+1 | |
2011-10-27 | Add buffer_type member to integer image_traits to allow derivation of unsigned | Constantin Michael | 2 | -2/+6 | |
2011-10-27 | Use sizeof consistently to specify image capacity | Constantin Michael | 1 | -9/+25 | |
2011-10-27 | Refactor query_column implementations for LOB columns | Constantin Michael | 1 | -77/+11 | |
2011-10-27 | Comment Oracle boolean literal emulation | Constantin Michael | 1 | -0/+4 | |
2011-10-27 | Simplify object_result::next and view_result::next implementations | Constantin Michael | 2 | -4/+4 | |
2011-10-26 | Add query and result implementations | Constantin Michael | 11 | -0/+2588 | |
2011-10-25 | Aesthetic changes | Constantin Michael | 1 | -2/+2 | |
2011-10-21 | Add support for const data members | Boris Kolpackov | 1 | -2/+2 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Split 'in' binding into insert/update pair; rename 'out' to select | Boris Kolpackov | 3 | -95/+96 | |
Also add the initial infrastructure for the readonly members support. Right now the split insert/update bindings allows us to avoid sending object id in UPDATE statements. It will also allows us to support readonly members. | |||||
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 | 4 | -88/+64 | |
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 | 3 | -17/+36 | |
2011-10-14 | Small bug fixes and aesthetic changes | Constantin Michael | 1 | -4/+8 | |
2011-10-14 | Improve default LOB parameter callback implementations | Constantin Michael | 1 | -63/+21 | |
2011-10-14 | Handle mapping of std::vector<char> to Oracle SQL type RAW by default | Constantin Michael | 2 | -0/+49 | |
2011-10-14 | Correct the LOB callback aspects of the bind mechanism | Constantin Michael | 3 | -17/+22 | |
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 | 2 | -9/+11 | |
2011-10-14 | Const qualify buffer argument in parameter callback function signature | Constantin Michael | 3 | -6/+8 | |
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 | 2 | -12/+14 | |
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 | 3 | -2/+32 | |
This simplifies resource management in the generated code. | |||||
2011-10-14 | Add OCILobLocator to the set of descriptor types that auto_descriptor manages | Constantin Michael | 2 | -1/+7 | |
2011-10-14 | Allow for size to be returned from big_int set_image functions | Constantin Michael | 3 | -12/+51 | |
The OCI interface requires size information for any buffer passed to its bind interface. By adding a return path for this data, we avert any need to obtain this from the actual VARNUM binary data using messy byte manipulation. | |||||
2011-10-14 | Const qualify input buffer in big_int_value_traits::set_value signature | Constantin Michael | 1 | -2/+2 | |
2011-10-14 | Correct syntax error | Constantin Michael | 1 | -1/+1 | |
2011-10-14 | Enable statement cache in connection | Constantin Michael | 2 | -13/+14 | |
2011-10-11 | Bump version | Constantin Michael | 1 | -3/+3 | |
2011-10-07 | Correct comment | Constantin Michael | 1 | -2/+1 | |
2011-10-06 | Add comments | Constantin Michael | 2 | -0/+8 | |
2011-10-03 | Bump version to 1.6.0.a2 | Constantin Michael | 1 | -3/+3 | |