aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/traits.hxx
AgeCommit message (Collapse)AuthorFilesLines
2018-05-24Update copyright yearKaren Arutyunov1-1/+1
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2014-08-29Use default-initialized value instead of 0Boris Kolpackov1-2/+2
0 doesn't work for enum classes.
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2013-01-25By default map std::array<char, N> to string instead of binaryBoris Kolpackov1-6/+8
2013-01-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov1-100/+144
Also improve query support for arrays (decaying).
2012-11-21Add dynamic multi-database query supportBoris Kolpackov1-6/+16
2012-09-11Add support for mapping std::array to BLOB and char[16] to UUID typesBoris Kolpackov1-25/+233
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-12-22Truncate excess data instead of asserting, make small functions inlineBoris Kolpackov1-10/+51
2011-12-21Cosmetic changesBoris Kolpackov1-3/+0
2011-11-28Export appropriate classes and structsConstantin Michael1-6/+9
2011-11-08Implement support for Oracle temporal typesConstantin Michael1-9/+19
2011-11-03Add support for mapping char[N] and unsigned char[N] types to BLOB1.7.0.a1Boris Kolpackov1-0/+179
New test: common/blob.
2011-11-03Use correct image type for RAW type traitsBoris Kolpackov1-2/+2
2011-11-03Add position context to LOB result callbackBoris Kolpackov1-3/+15
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 Kolpackov1-1/+80
2011-10-27Add buffer_type member to integer image_traits to allow derivation of unsignedConstantin Michael1-0/+4
2011-10-21Add support for const data membersBoris Kolpackov1-2/+2
Const data members are automatically treated as readonly. New test: const-member.
2011-10-20Use SQLT_NUM instead of SQLT_VNU OCI type due to inconsistent buffer lengthsConstantin Michael1-43/+29
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-14Small bug fixes and aesthetic changesConstantin Michael1-4/+8
2011-10-14Handle mapping of std::vector<char> to Oracle SQL type RAW by defaultConstantin Michael1-0/+27
2011-10-14Correct the LOB callback aspects of the bind mechanismConstantin Michael1-2/+2
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-3/+3
2011-10-14Allow for size to be returned from big_int set_image functionsConstantin Michael1-6/+40
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-14Const qualify input buffer in big_int_value_traits::set_value signatureConstantin Michael1-2/+2
2011-10-06Add commentsConstantin Michael1-0/+3
2011-09-28Correct casting error in id_big_int default_value_traits specializationConstantin Michael1-1/+1
2011-09-27Correct commentConstantin Michael1-1/+1
2011-09-27Implement partial specialization of default_value_traits for id_big_intConstantin Michael1-0/+55
2011-09-27Pass parameter callback user context as a const void*Constantin Michael1-9/+9
This avoids usage of const_cast when manipulating the const qualified values in set_image functions within the traits implementations.
2011-09-27Implement callbacks as non-inline functionsConstantin Michael1-41/+2
2011-09-27Map long and long long to id_big_int by defaultConstantin Michael1-4/+4
2011-09-27Add const char[n] value_traits specialization in addition to char[n]Constantin Michael1-0/+29
2011-09-27Implement traitsConstantin Michael1-380/+595
2011-09-27Correct license line in file headersConstantin Michael1-1/+1
2011-09-26Redefine id_int64 image type to be a byte arrayConstantin Michael1-1/+1
2011-09-23Add traits implementationConstantin Michael1-0/+590