summaryrefslogtreecommitdiff
path: root/odb/relational/header.hxx
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-9/+52
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-11-01Format generated code nicelyConstantin Michael1-1/+2
2011-11-01Do not generate image version or change_callback members for abstract objectsConstantin Michael1-1/+1
2011-11-01Implement query image change callback machineryConstantin Michael1-0/+7
2011-10-27Add support for persistent classes without object idsBoris Kolpackov1-48/+71
New pragma id (object). New test: common/no-id.
2011-10-21Add support for const data membersBoris Kolpackov1-9/+20
Const data members are automatically treated as readonly. New test: const-member.
2011-10-21Add support for readonly membersBoris Kolpackov1-8/+9
New pragma: readonly. New test: readonly.
2011-10-21Split 'in' binding into insert/update pair; rename 'out' to selectBoris Kolpackov1-61/+82
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-21Generate auto_id constant even if id is in baseBoris Kolpackov1-0/+3
2011-10-21Correct auto_id flag generationConstantin Michael1-1/+1
2011-10-21Use cached auto_id flag to determine presence of auto increment columnConstantin Michael1-1/+1
2011-10-21Generate object traits auto id flag for all databasesConstantin Michael1-0/+3
2011-10-21Add flag to context indicating whether to generate grow codeConstantin Michael1-12/+24
2011-09-27Add support for associating tables with viewsBoris Kolpackov1-7/+19
2011-09-21Rework const object handlingBoris Kolpackov1-10/+1
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 Kolpackov1-2/+2
2011-09-19Use query_base_type instead of query_type as argument typeBoris Kolpackov1-4/+4
The base type is sufficient.
2011-09-16Support for views; integrated partBoris Kolpackov1-23/+98
2011-09-09New templated query_columns architectureBoris Kolpackov1-54/+267
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table.
2011-09-06Add support for object pragmaBoris Kolpackov1-11/+20
This pragma is used to specify objects in a view declaration.
2011-09-05Support for views; native partBoris Kolpackov1-6/+139
2011-08-31Rename comp_value() predicate to composite()Boris Kolpackov1-6/+6
2011-08-31Cosmetic changes and cleanupsBoris Kolpackov1-12/+13
Rename some functions to have consistent names. Add object() predicate.
2011-08-28Add wrapper support for containersBoris Kolpackov1-8/+22
2011-08-28Add wrapper support for composite valuesBoris Kolpackov1-3/+3
NULL semantics for composite values is not yet supported.
2011-08-22Add database::erase_query() functionBoris Kolpackov1-1/+12
New test: common/erase-query. Documentation is in Section 3.9, "Deleting Persistent Objects". The current implementation does not work well with the session (no removal of the erased objects from the cache).
2011-08-21Add support for multi-pass database schema dropBoris Kolpackov1-1/+1
2011-07-05Add support for multi-pass database schema generationBoris Kolpackov1-2/+2
2011-07-05Add hooks for generating extra code in container traitsConstantin Michael1-1/+17
2011-07-04Implement support for database operations callbacksBoris Kolpackov1-0/+11
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback".
2011-06-21Add hooks for generating extra code in object traitsBoris Kolpackov1-0/+15
2011-04-25Add support for abstract object typesBoris Kolpackov1-76/+113
2011-04-25Reuse container traits from composite valuesBoris Kolpackov1-20/+65
2011-04-25Reuse container traits from base objectsBoris Kolpackov1-20/+40
2011-04-25Pass id binding instead of id image in container traitsBoris Kolpackov1-20/+14
This will allow us to reuse things more.
2011-04-22Initial support for non-polymorphic inheritanceBoris Kolpackov1-28/+110
Every class gets a separate table. New test: common/inheritance.
2011-03-24Generalization work for MySQL and SQLite supportBoris Kolpackov1-20/+52
2011-03-21Add default_ctor() to semantics::class_Boris Kolpackov1-4/+1
Use it in the code generators instead of calling the GCC AST macro.
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+886
The common part (in relational/) still has some MySQL-specific parts. Also, add the notion of the current context which is used to avoid explicitly passing the context object to every generator's c-tor.