Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-02-09 | Update copyright year | Boris Kolpackov | 9 | -9/+9 | |
2013-02-07 | Use multi-pass table creation in MySQL | Boris Kolpackov | 1 | -25/+204 | |
This deals with table creation order and circular dependencies. Unfortunately, there doesn't seem to be a way in MySQL to drop a foreign key only if it exists without resorting to stored procedures. | |||||
2013-01-24 | Add support for mapping char[N] to CHAR/VARCHAR database types | Boris Kolpackov | 2 | -4/+35 | |
Also improve query support for arrays (decaying). | |||||
2013-01-14 | Add support for MSSQL ROWVERSION | Boris Kolpackov | 1 | -6/+6 | |
ODB can now use ROWVERSION column as an optimistic concurrency version. | |||||
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 2 | -12/+2 | |
2012-11-21 | Add dynamic multi-database query support | Boris Kolpackov | 1 | -1/+1 | |
2012-11-20 | Merge branch '2.1' | Boris Kolpackov | 1 | -0/+6 | |
2012-11-20 | Ignore polymorphic id reference when generating grow()2.1.12.1 | Boris Kolpackov | 1 | -0/+6 | |
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 2 | -2/+3 | |
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-04 | NULL handling improvements | Boris Kolpackov | 1 | -21/+23 | |
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-07-27 | Add support for defining indexes | Boris Kolpackov | 1 | -0/+30 | |
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index. | |||||
2012-07-27 | Move indexes from model scope to table scope | Boris Kolpackov | 1 | -14/+0 | |
Conceptually, indexes belong to tables and some databases (MySQL, MSSQL) indeed treat them as such (i.e., you can have indexes with the same name in different tables). | |||||
2012-07-10 | Add support for custom database type mapping | Boris Kolpackov | 4 | -59/+128 | |
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom. | |||||
2012-04-27 | Add support for NULL pointers to objects with composite object ids | Boris Kolpackov | 1 | -0/+43 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 3 | -124/+15 | |
2012-03-07 | Use RAII to free select statement results | Boris Kolpackov | 1 | -0/+1 | |
2012-02-22 | Add support for composite object ids | Boris Kolpackov | 6 | -526/+82 | |
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 | 8 | -8/+8 | |
2012-01-29 | Remove author field from file header | Boris Kolpackov | 8 | -8/+0 | |
Too much effort to maintain. | |||||
2012-01-26 | Implement support for database schema | Boris Kolpackov | 3 | -9/+38 | |
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 | Add support for case where we don't send auto object id in INSERT | Boris Kolpackov | 1 | -0/+1 | |
2012-01-20 | ODB compiler implementation, traits, and types test for SQL Server | Boris Kolpackov | 1 | -14/+22 | |
2012-01-20 | Reserve correct amount of memory for quoted id | Boris Kolpackov | 1 | -1/+1 | |
2012-01-20 | Use static variables instead of extern in unnamed namespace | Boris Kolpackov | 2 | -62/+55 | |
2012-01-08 | Add support for defining composite value type as class template instantiations | Boris Kolpackov | 1 | -2/+2 | |
2011-11-09 | Make sure we can use same type as both container and simple value | Boris Kolpackov | 4 | -8/+19 | |
2011-11-01 | Implement support for optimistic concurrency | Boris Kolpackov | 1 | -3/+9 | |
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 | 4 | -156/+242 | |
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 | Use base implementation instead of duplicating code | Boris Kolpackov | 1 | -10/+8 | |
2011-10-21 | Add support for const data members | Boris Kolpackov | 3 | -28/+71 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Add support for readonly members | Boris Kolpackov | 1 | -18/+56 | |
New pragma: readonly. New test: readonly. | |||||
2011-10-21 | Split 'in' binding into insert/update pair; rename 'out' to select | Boris Kolpackov | 1 | -9/+52 | |
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 | Rename relational::context::use_as to relational::context::need_alias_as | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Add a context flag indicating whether AS SQL keyword should be used for aliases | Constantin Michael | 1 | -0/+1 | |
2011-10-21 | Add flag to context indicating whether to generate grow code | Constantin Michael | 1 | -0/+1 | |
2011-09-21 | Rework const object handling | Boris Kolpackov | 1 | -1/+1 | |
Now objects are always loaded as non-const and the object cache in session treats all objects as non-const. | |||||
2011-09-19 | Rename generation_failed exception to operation_failed | Boris Kolpackov | 2 | -10/+10 | |
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-16 | Support for views; integrated part | Boris Kolpackov | 1 | -1/+25 | |
2011-09-05 | Support for views; native part | Boris Kolpackov | 1 | -2/+5 | |
2011-08-31 | Rename comp_value() predicate to composite() | Boris Kolpackov | 3 | -10/+10 | |
2011-08-31 | Add transient() predicate | Boris Kolpackov | 1 | -1/+1 | |
2011-08-31 | Cosmetic changes and cleanups | Boris Kolpackov | 1 | -1/+1 | |
Rename some functions to have consistent names. Add object() predicate. | |||||
2011-08-28 | Add wrapper support for containers | Boris Kolpackov | 2 | -8/+12 | |
2011-08-28 | Add wrapper support for composite values | Boris Kolpackov | 3 | -11/+56 | |
NULL semantics for composite values is not yet supported. | |||||
2011-08-19 | Rework query machinery not to use '_' as primary table alias | Boris Kolpackov | 1 | -2/+2 | |
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself. | |||||
2011-07-22 | Add pragma for setting type's or member's default value | Boris Kolpackov | 1 | -0/+79 | |
New pragma: default. New test: default. | |||||
2011-07-22 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-07-22 | Parse and store MySQL ENUM enumerator strings | Boris Kolpackov | 2 | -4/+31 | |
2011-07-22 | Use quote_string() to quote enumerators | Boris Kolpackov | 1 | -3/+1 | |
2011-07-22 | Cosmetic changes | Boris Kolpackov | 1 | -2/+2 | |