Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-21 | Add support for readonly members | Boris Kolpackov | 13 | -218/+663 | |
New pragma: readonly. New test: readonly. | |||||
2011-10-21 | Split 'in' binding into insert/update pair; rename 'out' to select | Boris Kolpackov | 10 | -259/+598 | |
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-21 | Generate auto_id constant even if id is in base | Boris Kolpackov | 1 | -0/+3 | |
2011-10-21 | Add schema_file implementation to support schema file header and footer hooks | Constantin Michael | 3 | -0/+49 | |
2011-10-21 | Refactor persist statement hook | Constantin Michael | 2 | -41/+22 | |
2011-10-21 | Correct auto_id flag generation | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Implement Oracle identifier truncation to 30 characters | Constantin Michael | 2 | -0/+15 | |
2011-10-21 | Rename relational::context::use_as to relational::context::need_alias_as | Constantin Michael | 7 | -14/+14 | |
2011-10-21 | Aesthetic changes and small bug fixes | Constantin Michael | 2 | -4/+5 | |
2011-10-21 | Add persist_stmt hook to handle generation of persist statement SQL | Constantin Michael | 2 | -9/+57 | |
ODB requires that Oracle persist statements include a RETURNING clause so that a generated auto_id column value may be returned. | |||||
2011-10-21 | Disable auto_id initialization hook for Oracle | Constantin Michael | 1 | -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-21 | Update code generation to support use of SQLT_NUM OCI type instead of SQLT_VNU | Constantin Michael | 2 | -3/+4 | |
2011-10-21 | Correct generation of Oracle sequences and triggers for auto increment columns | Constantin Michael | 1 | -4/+12 | |
2011-10-21 | Disable generation of inline foreign key constraints | Constantin Michael | 1 | -0/+5 | |
2011-10-21 | Specify all VARCHAR2 and NVARCHAR2 columns as nullable | Constantin Michael | 1 | -0/+13 | |
Oracle interprets empty VARCHAR2 and NVARCHAR2 strings as NULL. As an empty string is always valid within the C++ context, VARCHAR2 and NVARCHAR2 columns are always specified as nullable. | |||||
2011-10-21 | Cascade constraints when dropping Oracle tables | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Minimize Oracle schema_emitter implementation | Constantin Michael | 2 | -15/+5 | |
2011-10-21 | Use cached auto_id flag to determine presence of auto increment column | Constantin Michael | 2 | -22/+7 | |
2011-10-21 | Add a context flag indicating whether AS SQL keyword should be used for aliases | Constantin Michael | 6 | -0/+10 | |
2011-10-21 | Do not allocate a buffer for LOB images as connections now maintain one | Constantin Michael | 2 | -10/+6 | |
2011-10-21 | Generate object traits auto id flag for all databases | Constantin Michael | 2 | -17/+3 | |
2011-10-21 | Generate Oracle code using updated bind callback and context members | Constantin Michael | 2 | -7/+6 | |
2011-10-21 | Initialize position context to zero prior to Oracle LOB set_image call | Constantin Michael | 1 | -1/+2 | |
2011-10-21 | Aesthetic changes and syntax corrections | Constantin Michael | 2 | -5/+5 | |
2011-10-21 | Correct Oracle SQL type parser implementation | Constantin Michael | 1 | -12/+14 | |
2011-10-21 | Utilize the RAW buffer type | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Generate select_statement::stream_result in Oracle source | Constantin Michael | 1 | -0/+6 | |
2011-10-21 | Add init_value_extra hook to relational source generation | Constantin Michael | 1 | -5/+16 | |
2011-10-21 | Specialize schema_emitter for Oracle | Constantin Michael | 1 | -0/+47 | |
SQLPlus scripts are required to indicate PL/SQL block terminations with a trail '/'. | |||||
2011-10-21 | Allow per database specialization of schema_emitter | Constantin Michael | 2 | -34/+36 | |
2011-10-21 | Update init_image and init_value generation to use updated LOB traits | Constantin Michael | 1 | -2/+0 | |
2011-10-21 | Use an auto_descriptor to manage a bound result LOB | Constantin Michael | 1 | -1/+18 | |
2011-10-21 | Use the quoted column name of the id member in the auto id trigger body | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Remove local is_null variable used during value initialization | Constantin Michael | 1 | -17/+20 | |
The null state of the image is established in-line when traits set_value function is invoked. | |||||
2011-10-21 | Initialise lob_callback member of oracle::bind structure | Constantin Michael | 1 | -0/+2 | |
2011-10-21 | Correct bind::capacity initialization expression for big_int and string | Constantin Michael | 1 | -4/+4 | |
2011-10-21 | Enforce maximum byte length for CHAR, NCHAR, VARCHAR2 and NVARCHAR2 images | Constantin Michael | 1 | -2/+10 | |
2011-10-21 | Add an additional byte of storage to the big_int image for a terminator byte | Constantin Michael | 1 | -2/+3 | |
2011-10-21 | Aesthetic changes and comment additions | Constantin Michael | 3 | -8/+10 | |
2011-10-21 | Correct oracle_version comparison operations | Constantin Michael | 1 | -31/+32 | |
2011-10-21 | Add Oracle header and source implementations | Constantin Michael | 3 | -0/+943 | |
2011-10-21 | Implement unsigned_integer as part of oracle::context | Constantin Michael | 3 | -13/+16 | |
2011-10-21 | Use GNU GPL v3 license for ODB compiler files | Constantin Michael | 5 | -5/+5 | |
2011-10-21 | Implement oracle_version comparison operators and initializing constructor | Constantin Michael | 3 | -10/+50 | |
2011-10-21 | Correct Oracle auto ID trigger implementation | Constantin Michael | 1 | -4/+6 | |
2011-10-21 | Compact Oracle drop_table PL/SQL code | Constantin Michael | 1 | -10/+4 | |
2011-10-21 | Add schema.cxx to makefile | Constantin Michael | 1 | -1/+2 | |
2011-10-21 | Add Oracle schema implementation | Constantin Michael | 1 | -0/+279 | |
2011-10-21 | Remove unnecessary header file | Constantin Michael | 1 | -1/+0 | |
2011-10-21 | Add common implementation for Oracle | Constantin Michael | 3 | -1/+707 | |