Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-02-12 | Work around odd GCC tree behavior2.2.0 | Boris Kolpackov | 1 | -2/+0 | |
2013-02-09 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2013-02-05 | Add support for change-tracking containers | Boris Kolpackov | 1 | -6/+13 | |
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. | |||||
2013-01-24 | Add support for mapping char[N] to CHAR/VARCHAR database types | Boris Kolpackov | 1 | -15/+8 | |
Also improve query support for arrays (decaying). | |||||
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 1 | -54/+327 | |
2012-12-03 | Make --export-symbol and --extern-symbole values database-prefixable | Boris Kolpackov | 1 | -5/+7 | |
2012-11-28 | Add support for DLL exporting of generated code | Boris Kolpackov | 1 | -0/+37 | |
New options: --export-symbol, --extern-symbol. | |||||
2012-11-21 | Add dynamic multi-database query support | Boris Kolpackov | 1 | -0/+4 | |
2012-11-21 | Move some of the preprocessing from relational to common | Boris Kolpackov | 1 | -17/+1 | |
2012-10-29 | Add support for database prefixes in command line interface | Boris Kolpackov | 1 | -8/+10 | |
2012-10-25 | Static multi-database support | Boris Kolpackov | 1 | -2/+7 | |
Add new options (--multi-database, --default-database). Generate common code to -odb.?xx files and database-specific to -odb-<db>.?xx. | |||||
2012-09-12 | Implement --output-name, --generate-schema-only, and --at-once options | Boris Kolpackov | 1 | -25/+0 | |
2012-09-04 | NULL handling improvements | Boris Kolpackov | 1 | -18/+59 | |
Add support for specifying NULL-ness for types with built-in mapping. Handle Oracle [N]VARCHAR2 and SQLite FLOAT oddities using this mechanism instead of overriding it at the schema generation level. Also use the is_null argument that is passed to value_traits::init_image() to indicate whether the value can be NULL. | |||||
2012-08-16 | Add support for automatically discovering accessor/modifier functions | Boris Kolpackov | 1 | -2/+27 | |
New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace. | |||||
2012-08-15 | Add support for member accessors/modifiers | Boris Kolpackov | 1 | -0/+386 | |
New pragmas: get, set, access. New test: common/access. | |||||
2012-08-01 | Add support for empty column names in composite value types | Boris Kolpackov | 1 | -1/+29 | |
2012-07-31 | Add support for changing location that ODB views as class definition | Boris Kolpackov | 1 | -3/+12 | |
This is useful for making third-party/system types into ODB composite value types. New pragma: definition. New test: common/definition. | |||||
2012-04-27 | Add support for NULL pointers to objects with composite object ids | Boris Kolpackov | 1 | -0/+15 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 1 | -7/+68 | |
2012-03-05 | Add support for generating schema creation code into separate C++ file | Boris Kolpackov | 1 | -0/+3 | |
2012-02-27 | Add support for specifying table prefix on namespace | Boris Kolpackov | 1 | -18/+78 | |
2012-02-22 | Add support for composite object ids | Boris Kolpackov | 1 | -3/+67 | |
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated. | |||||
2012-01-29 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2012-01-29 | Remove author field from file header | Boris Kolpackov | 1 | -1/+0 | |
Too much effort to maintain. | |||||
2012-01-27 | Rename --default-schema to --schema | Boris Kolpackov | 1 | -2/+2 | |
2012-01-27 | Make container schema override object schema | Boris Kolpackov | 1 | -39/+63 | |
2012-01-26 | Implement support for database schema | Boris Kolpackov | 1 | -18/+99 | |
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-20 | ODB compiler implementation, traits, and types test for SQL Server | Boris Kolpackov | 1 | -0/+6 | |
2012-01-08 | Add support for defining composite value type as class template instantiations | Boris Kolpackov | 1 | -29/+59 | |
2011-11-09 | Make sure we can use same type as both container and simple value | Boris Kolpackov | 1 | -6/+4 | |
2011-11-08 | Get rid of special tracer database | Boris Kolpackov | 1 | -5/+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-11-01 | Implement support for optimistic concurrency | Boris Kolpackov | 1 | -0/+2 | |
New pragmas: optimistic, version. New test: optimistic. New database function: reload(). | |||||
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 1 | -5/+8 | |
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-21 | Add support for const data members | Boris Kolpackov | 1 | -34/+87 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Add support for readonly members | Boris Kolpackov | 1 | -49/+90 | |
New pragma: readonly. New test: readonly. | |||||
2011-10-21 | Split 'in' binding into insert/update pair; rename 'out' to select | Boris Kolpackov | 1 | -30/+30 | |
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-21 | Implement SQL type parsing and C++ type mappings for Oracle | Constantin Michael | 1 | -6/+2 | |
2011-10-21 | Make ODB Oracle aware | Constantin Michael | 1 | -0/+10 | |
2011-09-19 | Make processing top-level action, like validation and generation | Boris Kolpackov | 1 | -0/+36 | |
2011-09-16 | Support for views; integrated part | Boris Kolpackov | 1 | -8/+55 | |
2011-09-09 | Add support for ignoring bases in has_a() test | Boris Kolpackov | 1 | -0/+9 | |
2011-09-05 | Support for views; native part | Boris Kolpackov | 1 | -2/+15 | |
2011-08-31 | Rename comp_value() predicate to composite() | Boris Kolpackov | 1 | -1/+1 | |
2011-08-31 | Cosmetic changes and cleanups | Boris Kolpackov | 1 | -5/+5 | |
Rename some functions to have consistent names. Add object() predicate. | |||||
2011-08-28 | Add wrapper support for containers | Boris Kolpackov | 1 | -6/+13 | |
2011-08-24 | Don't append table prefix to names that already have it (container tables) | Boris Kolpackov | 1 | -3/+11 | |
2011-08-22 | Add --table-prefix option | Boris Kolpackov | 1 | -5/+18 | |
Assign unique table prefixes to most examples. This makes sure that we don't end up with broken schemas where half of the tables were changed by the next test and the other half has foreign keys that now point to nowhere. | |||||
2011-08-04 | Add support for value wrappers | Boris Kolpackov | 1 | -17/+110 | |
Wrapper is a class that wraps another type. Examples of wrappers are various smart pointers, holders, etc. A wrapper can be transparent or it can handle the NULL semantics. The new odb::nullable class template is a NULL wrapper that helps to add the NULL semantics to a value type. New test: common/wrapper. | |||||
2011-07-24 | Add support for resetting options accumulated with options pragma | Boris Kolpackov | 1 | -14/+85 | |
2011-07-22 | Add pragma for setting type's or member's default value | Boris Kolpackov | 1 | -4/+5 | |
New pragma: default. New test: default. |