summaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2011-10-21Add persist_stmt hook to handle generation of persist statement SQLConstantin Michael2-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-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 Michael2-3/+4
2011-10-21Correct generation of Oracle sequences and triggers for auto increment columnsConstantin Michael1-4/+12
2011-10-21Disable generation of inline foreign key constraintsConstantin Michael1-0/+5
2011-10-21Specify all VARCHAR2 and NVARCHAR2 columns as nullableConstantin Michael1-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-21Cascade constraints when dropping Oracle tablesConstantin Michael1-1/+1
2011-10-21Minimize Oracle schema_emitter implementationConstantin Michael2-15/+5
2011-10-21Use cached auto_id flag to determine presence of auto increment columnConstantin Michael2-22/+7
2011-10-21Add a context flag indicating whether AS SQL keyword should be used for aliasesConstantin Michael6-0/+10
2011-10-21Do not allocate a buffer for LOB images as connections now maintain oneConstantin Michael2-10/+6
2011-10-21Generate object traits auto id flag for all databasesConstantin Michael2-17/+3
2011-10-21Generate Oracle code using updated bind callback and context membersConstantin Michael2-7/+6
2011-10-21Initialize position context to zero prior to Oracle LOB set_image callConstantin Michael1-1/+2
2011-10-21Aesthetic changes and syntax correctionsConstantin Michael2-5/+5
2011-10-21Correct Oracle SQL type parser implementationConstantin Michael1-12/+14
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-21Add init_value_extra hook to relational source generationConstantin Michael1-5/+16
2011-10-21Specialize schema_emitter for OracleConstantin Michael1-0/+47
SQLPlus scripts are required to indicate PL/SQL block terminations with a trail '/'.
2011-10-21Allow per database specialization of schema_emitterConstantin Michael2-34/+36
2011-10-21Update init_image and init_value generation to use updated LOB traitsConstantin Michael1-2/+0
2011-10-21Use an auto_descriptor to manage a bound result LOBConstantin Michael1-1/+18
2011-10-21Use the quoted column name of the id member in the auto id trigger bodyConstantin Michael1-1/+1
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-21Enforce maximum byte length for CHAR, NCHAR, VARCHAR2 and NVARCHAR2 imagesConstantin Michael1-2/+10
2011-10-21Add an additional byte of storage to the big_int image for a terminator byteConstantin Michael1-2/+3
2011-10-21Aesthetic changes and comment additionsConstantin Michael3-8/+10
2011-10-21Correct oracle_version comparison operationsConstantin Michael1-31/+32
2011-10-21Add Oracle header and source implementationsConstantin Michael3-0/+943
2011-10-21Implement unsigned_integer as part of oracle::contextConstantin Michael3-13/+16
2011-10-21Use GNU GPL v3 license for ODB compiler filesConstantin Michael5-5/+5
2011-10-21Implement oracle_version comparison operators and initializing constructorConstantin Michael3-10/+50
2011-10-21Correct Oracle auto ID trigger implementationConstantin Michael1-4/+6
2011-10-21Compact Oracle drop_table PL/SQL codeConstantin Michael1-10/+4
2011-10-21Add schema.cxx to makefileConstantin Michael1-1/+2
2011-10-21Add Oracle schema implementationConstantin Michael1-0/+279
2011-10-21Remove unnecessary header fileConstantin Michael1-1/+0
2011-10-21Add common implementation for OracleConstantin Michael3-1/+707
2011-10-21Add flag to context indicating whether to generate grow codeConstantin Michael7-57/+103
2011-10-21Add --oracle-client-version option and its associated C++ type oracle_versionConstantin Michael3-0/+87
2011-10-21Implement SQL type parsing and C++ type mappings for OracleConstantin Michael4-6/+702
2011-10-21Make ODB Oracle awareConstantin Michael7-5/+19
2011-10-03Use traditional const placementBoris Kolpackov1-2/+2
2011-10-03Bump version to 1.6.0Boris Kolpackov1-4/+4
2011-10-03Update options documentation with view informationBoris Kolpackov1-12/+13
2011-10-02Handle object pointers when comparing view and object data member typesBoris Kolpackov1-33/+68
Also issues an error if an object member associated with a view member is transient or inverse.
2011-10-02If query substituting placeholder is empty, pass true expression insteadBoris Kolpackov2-6/+16
This allows uniform usage of views both with and without any extra conditions. Also optimize some common cases so that we don't have useless WHERE TRUE clauses or (...) AND (TRUE) expressions.