summaryrefslogtreecommitdiff
path: root/odb/processor.cxx
AgeCommit message (Collapse)AuthorFilesLines
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2013-02-05Add support for change-tracking containersBoris Kolpackov1-9/+76
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-21Add dynamic multi-database query supportBoris Kolpackov1-2/+1
2012-11-21Move some of the preprocessing from relational to commonBoris Kolpackov1-0/+1115
2012-10-25Static multi-database supportBoris Kolpackov1-3/+1174
Add new options (--multi-database, --default-database). Generate common code to -odb.?xx files and database-specific to -odb-<db>.?xx.
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-2/+5
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-11-08Get rid of special tracer databaseBoris Kolpackov1-5/+2
The include, types, and pragma tests have been moved to the common/ directory while the object test has been merged into common/lifecycle. The transaction test will be re-implemented as common/ test as soon as SQL statement tracing support is merged.
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-1/+1
We now first create the so-called database model from C++ model and then use that to generate the database schema. The new approach also adds more general support for primary/foreign keys, including multi- column keys. Finally, for MySQL we now generate out-of-line foreign key definitions. Because MySQL does not support deferred constraints checking, deferred foreign keys are written commented out, for documentation.
2011-09-19Rename generation_failed exception to operation_failedBoris Kolpackov1-1/+1
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 Kolpackov1-0/+34