summaryrefslogtreecommitdiff
path: root/odb/relational
AgeCommit message (Collapse)AuthorFilesLines
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 Michael1-2/+4
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-21Add Oracle header and source implementationsConstantin Michael2-0/+941
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 Michael1-3/+1
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 Oracle schema implementationConstantin Michael1-0/+279
2011-10-21Add common implementation for OracleConstantin Michael2-0/+705
2011-10-21Add flag to context indicating whether to generate grow codeConstantin Michael7-57/+103
2011-10-21Implement SQL type parsing and C++ type mappings for OracleConstantin Michael2-0/+695
2011-10-03Use traditional const placementBoris Kolpackov1-2/+2
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.
2011-09-27Add support for associating tables with viewsBoris Kolpackov5-52/+170
2011-09-22Make PG generated code look nicer1.6.0.a2Boris Kolpackov1-8/+7
2011-09-21Rework const object handlingBoris Kolpackov5-70/+17
Now objects are always loaded as non-const and the object cache in session treats all objects as non-const.
2011-09-20Rename query_clause to query_statement for consistencyBoris Kolpackov3-11/+11
2011-09-20Change query syntax to use . for composite and -> for object pointer accessBoris Kolpackov2-47/+108
Also make non-inverse query columns act as both an object pointer and a normal column. The latter allows us to use natural expressions such as query<employee>::employer.is_null ().
2011-09-20Fix indentationBoris Kolpackov1-2/+2
2011-09-19Rename generation_failed exception to operation_failedBoris Kolpackov10-100/+100
A more generic name is required since it is now used in both generator and processor (and in the future may be used validator).
2011-09-19Make processing top-level action, like validation and generationBoris Kolpackov2-8/+8
2011-09-19Use scope and location of db pointer pragma instead of classBoris Kolpackov1-22/+43
2011-09-19Use common lookup function instead of duplicating codeBoris Kolpackov1-68/+26
2011-09-19Use query_base_type instead of query_type as argument typeBoris Kolpackov2-9/+9
The base type is sufficient.
2011-09-19Rename error.?xx to diagnostics.?xxBoris Kolpackov2-2/+2
2011-09-16Don't use DISTINCT in generated SELECT statementsBoris Kolpackov1-4/+1
We needed it before for objects that involved relationships (and therefore JOINs) but it appears with the new JOIN handling approach (no merging of multiple relationships into a single JOIN), we don't need DISTINCT anymore. All the tests pass and all the examples produce identical output with and without DISTINCT.
2011-09-16Support for views; integrated partBoris Kolpackov10-68/+2258
2011-09-11Generalize pragma code to support arbitrary types for context valuesBoris Kolpackov2-65/+35
2011-09-09New templated query_columns architectureBoris Kolpackov7-320/+567
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table.