Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-02 | Add result_iterator::id() function that returns id without loading object | Boris Kolpackov | 2 | -0/+15 | |
2011-11-02 | Prevent potential image overwrite in MySQL query result | Boris Kolpackov | 1 | -1/+6 | |
2011-11-01 | Fix bug in view column parsing | Boris Kolpackov | 1 | -13/+1 | |
2011-11-01 | Implement support for optimistic concurrency | Boris Kolpackov | 5 | -0/+488 | |
New pragmas: optimistic, version. New test: optimistic. New database function: reload(). | |||||
2011-11-01 | Enable query test 14 for Oracle | Constantin Michael | 1 | -2/+0 | |
2011-10-27 | Add support for persistent classes without object ids | Boris Kolpackov | 5 | -0/+235 | |
New pragma id (object). New test: common/no-id. | |||||
2011-10-27 | Dereference nullable | Boris Kolpackov | 1 | -1/+1 | |
2011-10-27 | Rename typedef type for clarity | Constantin Michael | 2 | -4/+5 | |
2011-10-27 | Temporarily exclude query test 14 from Oracle test suite | Constantin Michael | 1 | -13/+15 | |
2011-10-27 | Simplify LOB column query tests | Constantin Michael | 3 | -62/+67 | |
2011-10-27 | Refactor pre-processor directives used to realize Oracle identifier quoting | Constantin Michael | 1 | -7/+3 | |
2011-10-27 | Revert to manually quoting Oracle identifiers where necessary | Constantin Michael | 3 | -24/+35 | |
2011-10-26 | Shorten inheritance test table prefix to avoid name collisions | Constantin Michael | 1 | -1/+1 | |
2011-10-26 | Remove temporary makefile overrides for Oracle | Constantin Michael | 1 | -16/+0 | |
2011-10-26 | Add BLOB comparison and null predicate test cases to query test | Constantin Michael | 3 | -53/+119 | |
2011-10-26 | Temporarily disable query test 14 | Constantin Michael | 1 | -13/+13 | |
2011-10-26 | Use CLOB instead of TEXT for Oracle query test | Constantin Michael | 1 | -1/+5 | |
2011-10-26 | Add Oracle traits implementation for query test | Constantin Michael | 2 | -0/+62 | |
2011-10-26 | Quote schema object identifiers for Oracle where necessary | Constantin Michael | 6 | -28/+161 | |
Oracle converts all alphabetical characters in unquoted schema object identifiers to uppercase. This behaviour cannot be disabled. | |||||
2011-10-26 | Get rid of common_ prefix in query test | Boris Kolpackov | 1 | -1/+1 | |
2011-10-24 | Enable ON DELETE CASCADE-based checks for MySQL | Boris Kolpackov | 1 | -6/+0 | |
Now that we generate proper foreign keys for containers. | |||||
2011-10-24 | Add t_ prefix to all the common tests that conflict with examples | Boris Kolpackov | 8 | -20/+20 | |
2011-10-21 | Add test_ prefix to view test since it conflicts with view example | Boris Kolpackov | 3 | -15/+15 | |
2011-10-21 | Shorten table prefixes | Boris Kolpackov | 2 | -2/+2 | |
2011-10-21 | Rename common/const test to common/const-object | Boris Kolpackov | 5 | -5/+5 | |
2011-10-21 | Add support for const data members | Boris Kolpackov | 7 | -13/+451 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Add support for readonly members | Boris Kolpackov | 5 | -0/+504 | |
New pragma: readonly. New test: readonly. | |||||
2011-10-21 | Remove common_ from all table_prefix arguments in common tests | Constantin Michael | 27 | -56/+45 | |
2011-10-21 | Improve temporary makefile layout | Constantin Michael | 1 | -24/+28 | |
2011-10-21 | Add common tests for Oracle | Constantin Michael | 10 | -30/+50 | |
Due to the 30 character limit imposed by Oracle on identifiers, some of the common tests code and/or makefiles had to be modified. | |||||
2011-10-02 | Handle object pointers when comparing view and object data member types | Boris Kolpackov | 2 | -5/+37 | |
Also issues an error if an object member associated with a view member is transient or inverse. | |||||
2011-10-02 | If query substituting placeholder is empty, pass true expression instead | Boris Kolpackov | 2 | -3/+3 | |
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 | 2 | -7/+63 | |
2011-09-22 | Remove NDEBUG macro from VC project; tests always need enabled assert()1.6.0.a2 | Boris Kolpackov | 2 | -4/+4 | |
2011-09-21 | Use int instead of size_t for NULL-able value | Boris Kolpackov | 1 | -2/+2 | |
In case of nullable<size_t> the ODB compiler is unable to determine that the wrapped type is size_t. This results in 64-bit integer being stored and 32-bit being loaded. This interacts badly with PG for some reason. | |||||
2011-09-21 | Rework const object handling | Boris Kolpackov | 2 | -14/+12 | |
Now objects are always loaded as non-const and the object cache in session treats all objects as non-const. | |||||
2011-09-21 | Add prefix to table name | Boris Kolpackov | 1 | -1/+2 | |
2011-09-20 | Change query syntax to use . for composite and -> for object pointer access | Boris Kolpackov | 8 | -20/+45 | |
Also make non-inverse query columns act as both an object pointer and a normal column. The latter allows us to use natural expressions such as query<employee>::employer.is_null (). | |||||
2011-09-16 | Support for views; integrated part | Boris Kolpackov | 2 | -65/+723 | |
2011-09-09 | Add test for queries involving object relationships | Boris Kolpackov | 5 | -19/+444 | |
2011-09-09 | New templated query_columns architecture | Boris Kolpackov | 1 | -1/+2 | |
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table. | |||||
2011-09-09 | Vary members order to improve coverage | Boris Kolpackov | 1 | -5/+5 | |
In particular, the test now catches a bug in PG type oid generation. | |||||
2011-09-06 | Correct view test | Boris Kolpackov | 1 | -1/+0 | |
2011-09-05 | Support for views; native part | Boris Kolpackov | 5 | -0/+409 | |
2011-08-28 | Add wrapper support for containers | Boris Kolpackov | 2 | -7/+62 | |
2011-08-28 | Add wrapper support for composite values | Boris Kolpackov | 2 | -2/+111 | |
NULL semantics for composite values is not yet supported. | |||||
2011-08-25 | Add experimental code (commented out) for DELETE JOIN support | Boris Kolpackov | 2 | -2/+52 | |
This would be needed to support object relationships in the erase_query() functionality. | |||||
2011-08-24 | Make tests use unique table prefixes | Boris Kolpackov | 21 | -21/+30 | |
2011-08-22 | Add database::erase_query() function | Boris Kolpackov | 5 | -0/+258 | |
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 | Rework query machinery not to use '_' as primary table alias | Boris Kolpackov | 1 | -1/+1 | |
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself. |