Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-21 | Refactor persist statement hook | Constantin Michael | 1 | -24/+19 | |
2011-10-21 | Rename relational::context::use_as to relational::context::need_alias_as | Constantin Michael | 1 | -6/+6 | |
2011-10-21 | Aesthetic changes and small bug fixes | Constantin Michael | 1 | -3/+4 | |
2011-10-21 | Add persist_stmt hook to handle generation of persist statement SQL | Constantin Michael | 1 | -9/+28 | |
ODB requires that Oracle persist statements include a RETURNING clause so that a generated auto_id column value may be returned. | |||||
2011-10-21 | Use cached auto_id flag to determine presence of auto increment column | Constantin Michael | 1 | -21/+6 | |
2011-10-21 | Add init_value_extra hook to relational source generation | Constantin Michael | 1 | -5/+16 | |
2011-10-21 | Add flag to context indicating whether to generate grow code | Constantin Michael | 1 | -45/+72 | |
2011-10-03 | Use traditional const placement | Boris Kolpackov | 1 | -2/+2 | |
2011-10-02 | If query substituting placeholder is empty, pass true expression instead | Boris Kolpackov | 1 | -5/+15 | |
This allows uniform usage of views both with and without any extra conditions. Also optimize some common cases so that we don't have useless WHERE TRUE clauses or (...) AND (TRUE) expressions. | |||||
2011-09-27 | Add support for associating tables with views | Boris Kolpackov | 1 | -30/+106 | |
2011-09-21 | Rework const object handling | Boris Kolpackov | 1 | -57/+13 | |
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 | -7/+7 | |
2011-09-19 | Rename generation_failed exception to operation_failed | Boris Kolpackov | 1 | -6/+6 | |
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-19 | Use query_base_type instead of query_type as argument type | Boris Kolpackov | 1 | -5/+5 | |
The base type is sufficient. | |||||
2011-09-19 | Rename error.?xx to diagnostics.?xx | Boris Kolpackov | 1 | -1/+1 | |
2011-09-16 | Don't use DISTINCT in generated SELECT statements | Boris Kolpackov | 1 | -4/+1 | |
We needed it before for objects that involved relationships (and therefore JOINs) but it appears with the new JOIN handling approach (no merging of multiple relationships into a single JOIN), we don't need DISTINCT anymore. All the tests pass and all the examples produce identical output with and without DISTINCT. | |||||
2011-09-16 | Support for views; integrated part | Boris Kolpackov | 1 | -21/+756 | |
2011-09-09 | New templated query_columns architecture | Boris Kolpackov | 1 | -119/+62 | |
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table. | |||||
2011-09-05 | Support for views; native part | Boris Kolpackov | 1 | -48/+209 | |
2011-08-31 | Rename comp_value() predicate to composite() | Boris Kolpackov | 1 | -10/+10 | |
2011-08-31 | Cosmetic changes and cleanups | Boris Kolpackov | 1 | -30/+35 | |
Rename some functions to have consistent names. Add object() predicate. | |||||
2011-08-28 | Add wrapper support for containers | Boris Kolpackov | 1 | -10/+23 | |
2011-08-28 | Add wrapper support for composite values | Boris Kolpackov | 1 | -10/+32 | |
NULL semantics for composite values is not yet supported. | |||||
2011-08-25 | Add experimental code (commented out) for DELETE JOIN support | Boris Kolpackov | 1 | -1/+11 | |
This would be needed to support object relationships in the erase_query() functionality. | |||||
2011-08-22 | Add database::erase_query() function | Boris Kolpackov | 1 | -19/+58 | |
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-21 | Add support for multi-pass database schema drop | Boris Kolpackov | 1 | -20/+45 | |
2011-08-19 | Rework query machinery not to use '_' as primary table alias | Boris Kolpackov | 1 | -21/+54 | |
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself. | |||||
2011-08-19 | Make container object_id reference the object | Boris Kolpackov | 1 | -4/+10 | |
Make it ON DELETE CASCADE. Also in erase(), delete the container rows first. | |||||
2011-08-18 | Fix custom recursive loading in post_load callback | Boris Kolpackov | 1 | -2/+2 | |
Before we called the callback while holding the statements locked. As a result, if the callback tried to load another object of this type, it failed. Now we unlock the statements (since we have completely loaded the object from ODB's point of view) and then call the callback. The callback test has been updated to test this situation. | |||||
2011-07-08 | Have separate table set for each schema generation pass | Boris Kolpackov | 1 | -17/+11 | |
2011-07-05 | Add support for multi-pass database schema generation | Boris Kolpackov | 1 | -50/+129 | |
2011-07-05 | Add query_statment_ctor and post_query_ hooks to relational source generation | Constantin Michael | 1 | -7/+25 | |
2011-07-05 | Fully qualify all references to odb::details namespace | Constantin Michael | 1 | -8/+8 | |
2011-07-05 | Add hooks for generating extra code in container traits | Constantin Michael | 1 | -0/+7 | |
2011-07-05 | Add base typedef to relational::query_parameters | Constantin Michael | 1 | -0/+2 | |
2011-07-04 | Implement support for database operations callbacks | Boris Kolpackov | 1 | -2/+4 | |
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback". | |||||
2011-06-21 | Distinguish between normal and auto-id params in persist statement | Boris Kolpackov | 1 | -11/+43 | |
This can be necessary to handle auto-id assignment in some databases, such as PostgreSQL. | |||||
2011-06-21 | Add hooks for generating extra code in object traits | Boris Kolpackov | 1 | -0/+7 | |
2011-05-04 | Add support for customizing query parameter format | Boris Kolpackov | 1 | -41/+82 | |
2011-05-04 | Cosmetic changes | Boris Kolpackov | 1 | -1/+1 | |
2011-04-25 | Add support for abstract object types | Boris Kolpackov | 1 | -133/+150 | |
2011-04-25 | Reuse container traits from composite values | Boris Kolpackov | 1 | -161/+204 | |
2011-04-25 | Reuse container traits from base objects | Boris Kolpackov | 1 | -7/+11 | |
2011-04-25 | Pass id binding instead of id image in container traits | Boris Kolpackov | 1 | -58/+68 | |
This will allow us to reuse things more. | |||||
2011-04-22 | Initial support for non-polymorphic inheritance | Boris Kolpackov | 1 | -71/+105 | |
Every class gets a separate table. New test: common/inheritance. | |||||
2011-04-19 | Move extra headers hook to the beginning | Boris Kolpackov | 1 | -2/+2 | |
2011-04-19 | Output object columns via traverser | Boris Kolpackov | 1 | -50/+65 | |
2011-03-28 | Mark parameter in create_schema as potentially unused | Boris Kolpackov | 1 | -1/+3 | |
This can happen if more than one class is mapped to the same table. | |||||
2011-03-25 | Further generalization work for SQLite support | Boris Kolpackov | 1 | -7/+16 | |
2011-03-24 | Generalization work for MySQL and SQLite support | Boris Kolpackov | 1 | -167/+259 | |