Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-02-22 | Add support for composite object ids | Boris Kolpackov | 6 | -571/+111 | |
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 | 1 | -3/+17 | |
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 | Remove unnecessary qualification | Boris Kolpackov | 1 | -1/+1 | |
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 | -1/+6 | |
2012-01-08 | Add support for defining composite value type as class template instantiations | Boris Kolpackov | 1 | -5/+5 | |
2011-11-09 | Make sure we can use same type as both container and simple value | Boris Kolpackov | 4 | -9/+20 | |
2011-11-01 | Implement support for optimistic concurrency | Boris Kolpackov | 2 | -15/+79 | |
New pragmas: optimistic, version. New test: optimistic. New database function: reload(). | |||||
2011-10-28 | Implement returning of auto id using RETURNING clause in PostgreSQL | Boris Kolpackov | 1 | -0/+12 | |
Before we used a separate SELECT lastval() query which was both inefficient and error-prone in cases where INSERT may cause triggers to override the last value. | |||||
2011-10-27 | Add support for persistent classes without object ids | Boris Kolpackov | 1 | -14/+20 | |
New pragma id (object). New test: common/no-id. | |||||
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 4 | -243/+216 | |
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 | 4 | -32/+77 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Add support for readonly members | Boris Kolpackov | 1 | -19/+58 | |
New pragma: readonly. New test: readonly. | |||||
2011-10-21 | Split 'in' binding into insert/update pair; rename 'out' to select | Boris Kolpackov | 2 | -32/+100 | |
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-22 | Make PG generated code look nicer1.6.0.a2 | Boris Kolpackov | 1 | -8/+7 | |
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-20 | Rename query_clause to query_statement for consistency | Boris Kolpackov | 1 | -2/+2 | |
2011-09-20 | Fix indentation | Boris Kolpackov | 1 | -2/+2 | |
2011-09-19 | Rename generation_failed exception to operation_failed | Boris Kolpackov | 2 | -11/+11 | |
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 | 2 | -6/+7 | |
2011-09-09 | New templated query_columns architecture | Boris Kolpackov | 2 | -29/+29 | |
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table. | |||||
2011-09-09 | Fix bug in PG type oid generation | Boris Kolpackov | 1 | -6/+16 | |
2011-09-06 | View support customizations for PostgreSQL | Boris Kolpackov | 2 | -10/+43 | |
2011-09-05 | Support for views; native part | Boris Kolpackov | 1 | -2/+2 | |
2011-08-31 | Rename comp_value() predicate to composite() | Boris Kolpackov | 4 | -13/+13 | |
2011-08-31 | Add transient() predicate | Boris Kolpackov | 1 | -1/+1 | |
2011-08-31 | Cosmetic changes and cleanups | Boris Kolpackov | 4 | -15/+17 | |
Rename some functions to have consistent names. Add object() predicate. | |||||
2011-08-28 | Add wrapper support for containers | Boris Kolpackov | 4 | -16/+18 | |
2011-08-28 | Add wrapper support for composite values | Boris Kolpackov | 4 | -14/+60 | |
NULL semantics for composite values is not yet supported. | |||||
2011-08-22 | Add database::erase_query() function | Boris Kolpackov | 2 | -9/+22 | |
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-19 | Make container object_id reference the object | Boris Kolpackov | 1 | -7/+33 | |
Make it ON DELETE CASCADE. Also in erase(), delete the container rows first. | |||||
2011-07-25 | Remove @@ notes that no longer apply | Boris Kolpackov | 1 | -1/+1 | |
2011-07-24 | Never generate zero length oid arrays for PostgreSQL | Constantin Michael | 1 | -0/+8 | |
VC++ does not allow zero length array initialization, nor for const values to remain uninitialized. | |||||
2011-07-22 | Add pragma for setting type's or member's default value | Boris Kolpackov | 1 | -0/+37 | |
New pragma: default. New test: default. | |||||
2011-07-22 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-07-21 | Correct container statement name generation for PostgreSQL | Constantin Michael | 1 | -2/+2 | |
2011-07-19 | New design for NULL semantics | Boris Kolpackov | 3 | -16/+5 | |
Now, instead of being specified as part of the SQL type with the type pragma, there are separate null and not_null pragmas. The not_null pragma was used to control NULL-ness of object pointers. Now the two pragmas are used consistently for object pointers and simple values (and in the future will work for composite values and containers). | |||||
2011-07-19 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-07-14 | Map unsigned short and int C++ types to SMALLINT and INTEGER PostgreSQL types | Constantin Michael | 1 | -2/+2 | |
2011-07-13 | Aesthetic changes | Constantin Michael | 1 | -3/+3 | |
2011-07-13 | Add support for DATE, TIME and TIMESTAMP PostgreSQL types | Constantin Michael | 2 | -20/+31 | |
2011-07-12 | Lengthen PostgreSQL BIT image buffer to allow for length specifier | Constantin Michael | 1 | -1/+5 | |
2011-07-12 | Correct bugs in PostgreSQL sql type parser | Constantin Michael | 1 | -2/+10 | |
2011-07-12 | Correct PostgreSQL varbit member image type to ubuffer | Constantin Michael | 1 | -1/+1 | |
2011-07-08 | Add foreign keys to PostgreSQL schema generation | Constantin Michael | 1 | -0/+129 | |