Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-21 | Remove common_ from all table_prefix arguments in common tests | Constantin Michael | 34 | -63/+52 | |
2011-10-21 | Improve temporary makefile layout | Constantin Michael | 1 | -24/+28 | |
2011-10-21 | Add 64 bit integer tests to Oracle types test | Constantin Michael | 2 | -32/+68 | |
2011-10-21 | Add common tests for Oracle | Constantin Michael | 11 | -32/+52 | |
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-21 | Add character set conversion tests to Oracle types test | Constantin Michael | 2 | -10/+103 | |
2011-10-21 | Correct create_database implementation for Oracle | Constantin Michael | 2 | -11/+4 | |
2011-10-21 | Add Oracle types test | Constantin Michael | 6 | -1/+414 | |
2011-10-21 | Add Oracle create_database code allowing for specification of character sets | Constantin Michael | 2 | -1/+11 | |
2011-10-21 | Add -S option when invoking SQLPlus to suppress some output | Constantin Michael | 1 | -0/+2 | |
2011-10-21 | Add infrastructure for oracle development testing and implement native test | Constantin Michael | 21 | -3/+666 | |
2011-10-19 | Mention autotools as prerequisite in INSTALL-GIT | Boris Kolpackov | 1 | -3/+9 | |
2011-10-03 | Don't add -framework OS X option to CPPFLAGS1.6.01.6 | Boris Kolpackov | 1 | -4/+0 | |
It is only necessary in LDFLAGS and adding it to CPPFLAGS causes warnings. | |||||
2011-10-03 | Bump version to 1.6.0 | Boris Kolpackov | 1 | -1/+1 | |
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 | Fix invalid configure option name | Boris Kolpackov | 1 | -1/+1 | |
2011-09-27 | Add support for associating tables with views | Boris Kolpackov | 2 | -7/+63 | |
2011-09-22 | Make sure NDEBUG is not defined | Boris Kolpackov | 1 | -0/+6 | |
2011-09-22 | Remove NDEBUG macro from VC project; tests always need enabled assert()1.6.0.a2 | Boris Kolpackov | 28 | -56/+56 | |
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 | Bump version to 1.6.0.a2 | Boris Kolpackov | 1 | -1/+1 | |
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-26 | Add support for specifying client character set for MySQL database | Boris Kolpackov | 1 | -1/+1 | |
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 | 55 | -77/+115 | |
2011-08-24 | Add support for transaction multiplexing | Boris Kolpackov | 2 | -0/+8 | |
Also delay getting a connection until after we do all the sanity checks (e.g., that there is no active transaction). Otherwise we are running risk of getting blocked rather than throwing an exception. | |||||
2011-08-22 | Bump version to 1.6.0.a11.6.0.a1 | Boris Kolpackov | 1 | -1/+1 | |
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-22 | Enable foreign key constraints checking in SQLite | Boris Kolpackov | 1 | -3/+12 | |
Due to bugs in SQLite DDL foreign key support, we have to temporarily disable foreign keys when re-creating the schema. New manual section: 12.5.3, "Foreign Key Constraints". | |||||
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. | |||||
2011-08-18 | Fix custom recursive loading in post_load callback | Boris Kolpackov | 3 | -6/+50 | |
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-08-04 | Add support for Qt QSharedPointer as value wrapper | Boris Kolpackov | 2 | -0/+48 | |
2011-08-04 | Add support for boost::optional and boost::shared_ptr as value wrappers | Boris Kolpackov | 7 | -2/+281 | |
New test: boost/common/optional. | |||||
2011-08-04 | Add support for value wrappers | Boris Kolpackov | 6 | -2/+237 | |
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-08-04 | Style changes | Boris Kolpackov | 1 | -2/+2 | |
2011-07-28 | Add value_traits specializations for std::vector<char> | Boris Kolpackov | 9 | -132/+22 | |
This allows using it as a buffer for BLOB mapping. | |||||
2011-07-27 | Bump version to 1.6.0 | Boris Kolpackov | 1 | -1/+1 | |
2011-07-25 | Export variable separately to be compatible with POSIX shell1.5.0 | Boris Kolpackov | 1 | -1/+2 | |
2011-07-25 | Add type qualifier to large integer literals | Boris Kolpackov | 1 | -2/+2 | |
2011-07-25 | Bump version to 1.5.0 | Boris Kolpackov | 1 | -1/+1 | |