summaryrefslogtreecommitdiff
path: root/odb/relational/oracle/source.cxx
AgeCommit message (Collapse)AuthorFilesLines
2011-11-08Pass LOB capacity using bind::capacity member instead of deriving at run-timeConstantin Michael1-4/+13
2011-11-08Add support for Oracle INTERVAL temporal typesConstantin Michael1-13/+59
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-3/+9
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-11-01Generate an image inline function that will return its change_callback memberConstantin Michael1-2/+2
libodb-oracle references the change_callback member of an image even when code is generated without query support. In order to avoid invalid references, the change_callback member is accessed via a getter method that is always generated.
2011-11-01Do not generate image version or change_callback members for abstract objectsConstantin Michael1-2/+3
2011-11-01Implement query image change callback machineryConstantin Michael1-0/+8
2011-10-27Add support for persistent classes without object idsBoris Kolpackov1-1/+1
New pragma id (object). New test: common/no-id.
2011-10-26Disable result caching in OracleConstantin Michael1-0/+14
2011-10-21Add support for const data membersBoris Kolpackov1-8/+19
Const data members are automatically treated as readonly. New test: const-member.
2011-10-21Add support for readonly membersBoris Kolpackov1-12/+53
New pragma: readonly. New test: readonly.
2011-10-21Split 'in' binding into insert/update pair; rename 'out' to selectBoris Kolpackov1-7/+48
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-21Refactor persist statement hookConstantin Michael1-17/+3
2011-10-21Aesthetic changes and small bug fixesConstantin Michael1-1/+1
2011-10-21Add persist_stmt hook to handle generation of persist statement SQLConstantin Michael1-0/+29
ODB requires that Oracle persist statements include a RETURNING clause so that a generated auto_id column value may be returned.
2011-10-21Disable auto_id initialization hook for OracleConstantin Michael1-2/+1
This is not necessary and is more complex than originally thought due to the possibility of auto_id columns having a char* image type.
2011-10-21Update code generation to support use of SQLT_NUM OCI type instead of SQLT_VNUConstantin Michael1-0/+1
2011-10-21Do not allocate a buffer for LOB images as connections now maintain oneConstantin Michael1-9/+6
2011-10-21Generate Oracle code using updated bind callback and context membersConstantin Michael1-5/+4
2011-10-21Initialize position context to zero prior to Oracle LOB set_image callConstantin Michael1-1/+2
2011-10-21Utilize the RAW buffer typeConstantin Michael1-1/+1
2011-10-21Generate select_statement::stream_result in Oracle sourceConstantin Michael1-0/+6
2011-10-21Update init_image and init_value generation to use updated LOB traitsConstantin Michael1-2/+0
2011-10-21Remove local is_null variable used during value initializationConstantin Michael1-17/+20
The null state of the image is established in-line when traits set_value function is invoked.
2011-10-21Initialise lob_callback member of oracle::bind structureConstantin Michael1-0/+2
2011-10-21Correct bind::capacity initialization expression for big_int and stringConstantin Michael1-4/+4
2011-10-21Aesthetic changes and comment additionsConstantin Michael1-7/+6
2011-10-21Add Oracle header and source implementationsConstantin Michael1-0/+765