summaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
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.
2011-09-27Add support for associating tables with viewsBoris Kolpackov8-74/+261
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-20Bump version to 1.6.0.a2Boris Kolpackov1-4/+4
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 Kolpackov14-106/+106
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-19Throw exception instead of returning false to indicate validation failureBoris Kolpackov3-24/+19
This is consistent with what's done in processor and generator.
2011-09-19Split validator into 2 passes, before and after processingBoris Kolpackov3-86/+170
This is necessary because we sometimes need information during validation (e.g., object pointer and container status) that is determined by the processor.
2011-09-19Make processing top-level action, like validation and generationBoris Kolpackov12-82/+212
2011-09-19Use scope and location of db pointer pragma instead of classBoris Kolpackov3-31/+63
2011-09-19Use common lookup function instead of duplicating codeBoris Kolpackov3-80/+43
2011-09-19Recognize C++ keywords when parsing C++ expressions in pragmasBoris Kolpackov3-26/+39
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 Kolpackov7-11/+11
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 Kolpackov26-275/+3515
2011-09-11Generalize pragma code to support arbitrary types for context valuesBoris Kolpackov7-172/+201
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.
2011-09-09Add support for ignoring bases in has_a() testBoris Kolpackov2-0/+11
2011-09-09Fix bug in PG type oid generationBoris Kolpackov1-6/+16
2011-09-06View support customizations for PostgreSQLBoris Kolpackov2-10/+43
2011-09-06Add support for object pragmaBoris Kolpackov5-135/+290
This pragma is used to specify objects in a view declaration.
2011-09-05Support for views; native partBoris Kolpackov13-169/+674
2011-08-31Rename comp_value() predicate to composite()Boris Kolpackov22-75/+75
2011-08-31Add transient() predicateBoris Kolpackov9-9/+15
2011-08-31Cosmetic changes and cleanupsBoris Kolpackov23-164/+185
Rename some functions to have consistent names. Add object() predicate.
2011-08-28Add wrapper support for containersBoris Kolpackov16-70/+134
2011-08-28Add wrapper support for composite valuesBoris Kolpackov17-58/+259
NULL semantics for composite values is not yet supported.
2011-08-25Add experimental code (commented out) for DELETE JOIN supportBoris Kolpackov1-1/+11
This would be needed to support object relationships in the erase_query() functionality.
2011-08-24Don't append table prefix to names that already have it (container tables)Boris Kolpackov3-6/+19