summaryrefslogtreecommitdiff
path: root/odb/generator.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2012-01-20ODB compiler implementation, traits, and types test for SQL ServerBoris Kolpackov1-0/+5
2011-11-08Get rid of special tracer databaseBoris Kolpackov1-26/+0
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-4/+30
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-10-21Make ODB Oracle awareConstantin Michael1-0/+4
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-52/+2
2011-07-05Enable context creation for PostgreSQLConstantin Michael1-4/+1
2011-07-05Aesthetic changesConstantin Michael1-1/+4
2011-07-05Make compiler pgsql awareConstantin Michael1-0/+10
2011-06-29Add --include-regex and --include-regex-trace optionsBoris Kolpackov1-12/+9
This requires libcutl update.
2011-03-21Infrastructure setup and schema generation for SQLiteBoris Kolpackov1-50/+40
2011-03-21Move the rest of generators to new ctor-less contextBoris Kolpackov1-8/+4
2011-03-21Move tracer to new ctor-less contextBoris Kolpackov1-6/+4
2011-03-21Move type processor to relational/Boris Kolpackov1-5/+2
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-14/+12
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.
2011-03-01Add support for embedded database schemasBoris Kolpackov1-3/+5
New options: --schema-format, --default-schema. New example: schema/embedded.
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-11-06Add support for container persistenceBoris Kolpackov1-3/+3
2010-11-01Factor assignment of database type to separate passBoris Kolpackov1-2/+28
2010-10-27Implement support for composite value typesBoris Kolpackov1-4/+22
New test: common/composite.
2010-10-22Implement inclusion of dependant -odb headersBoris Kolpackov1-1/+5
New test: tracer/include.
2010-10-21Move prologue/epilogue inside pre/post includesBoris Kolpackov1-18/+18
2010-09-13Change GPL v3Boris Kolpackov1-1/+1
2010-09-12Update ODB descriptionBoris Kolpackov1-1/+1
2010-08-03Generated code infrastructureBoris Kolpackov1-0/+99
Add prologue/epilogue support, version check, and pre/post inclusion.
2010-07-22Next chunk of functionalityBoris Kolpackov1-14/+71
Add SQL language lexer. Implement MySQL type declaration parser. Create sub-directories for databases, currently mysql and tracer. Create MySQL-specific context.
2010-06-04Next chunk of functionalityBoris Kolpackov1-7/+123
2010-05-07Remove the --proprietary-license optionBoris Kolpackov1-2/+2
It is not necessary since we are not going to copyright the generated code.
2010-04-02Detect odb-enabled classes and generate c-tor implementationBoris Kolpackov1-1/+3
2010-03-30Use odb prefix for inclusionBoris Kolpackov1-2/+2
2010-03-30Add code generator infrastructureBoris Kolpackov1-0/+156