summaryrefslogtreecommitdiff
path: root/odb/relational/header.hxx
AgeCommit message (Collapse)AuthorFilesLines
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2013-02-05Add support for change-tracking containersBoris Kolpackov1-81/+199
ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking.
2012-11-28Add support for DLL exporting of generated codeBoris Kolpackov1-12/+17
New options: --export-symbol, --extern-symbol.
2012-11-21Add dynamic multi-database query supportBoris Kolpackov1-350/+21
2012-11-21Generate query tags in object_traits for dynamic multi-database supportBoris Kolpackov1-56/+0
2012-11-21Rework query alias tag systemBoris Kolpackov1-14/+73
Now each object pointer or view-associated object with alias gets its own unique tag.
2012-10-25Static multi-database supportBoris Kolpackov1-2/+1
Add new options (--multi-database, --default-database). Generate common code to -odb.?xx files and database-specific to -odb-<db>.?xx.
2012-10-19Completion of prepared query supportBoris Kolpackov1-215/+3
2012-10-19Initial support for prepared queriesBoris Kolpackov1-5/+10
2012-10-08Ground work for multi-database supportBoris Kolpackov1-29/+63
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface.
2012-09-12Implement --output-name, --generate-schema-only, and --at-once optionsBoris Kolpackov1-2/+2
2012-07-16Simplify query inheritance hierarchyBoris Kolpackov1-55/+15
This should also allow Sun CC handle queries for objects with circular dependencies.
2012-04-29Cosmetic changeBoris Kolpackov1-1/+1
2012-04-27Don't generate grow code for databases that don't need itBoris Kolpackov1-1/+1
2012-04-27Add support for NULL pointers to objects with composite object idsBoris Kolpackov1-0/+15
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-509/+223
2012-03-05Add support for generating schema creation code into separate C++ fileBoris Kolpackov1-1/+1
2012-02-22Add support for composite object idsBoris Kolpackov1-15/+26
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2012-01-26Implement support for database schemaBoris Kolpackov1-2/+4
New pragma qualifier: namespace. New pragma specifier: schema. The table specifier was extended to accept a schema prefix. New option: --default- schema. The common/schema test was extended to cover the new functionality.
2012-01-20Do not select object id in container SELECT statementBoris Kolpackov1-4/+9
2012-01-08Add support for defining composite value type as class template instantiationsBoris Kolpackov1-28/+34
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