Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-02-08 | Add callback_ prefix to transaction callback functions | Boris Kolpackov | 3 | -10/+30 | |
Also test callback_update(). | |||||
2013-02-08 | Test change-tracking container and reuse inheritance | Boris Kolpackov | 2 | -3/+63 | |
2013-02-08 | Misc fixes | Boris Kolpackov | 2 | -6/+6 | |
2013-02-07 | Use multi-pass table creation in MySQL | Boris Kolpackov | 10 | -11/+233 | |
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-02-06 | Fix incorrect dist variable | Boris Kolpackov | 1 | -1/+1 | |
2013-02-05 | Add support for change-tracking containers | Boris Kolpackov | 9 | -52/+943 | |
ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking. | |||||
2013-01-25 | By default map std::array<char, N> to string instead of binary | Boris Kolpackov | 1 | -7/+2 | |
2013-01-24 | Add support for mapping char[N] to CHAR/VARCHAR database types | Boris Kolpackov | 9 | -11/+375 | |
Also improve query support for arrays (decaying). | |||||
2013-01-20 | Add cache_ suffix to session cache functions | Boris Kolpackov | 2 | -24/+26 | |
This way they won't conflict with other functions (e.g., delayed database operations) that may have the same names. | |||||
2013-01-20 | Add extra headers to dist target variables | Boris Kolpackov | 1 | -1/+2 | |
2013-01-18 | Add support for post-commit/rollback callbacks | Boris Kolpackov | 11 | -108/+513 | |
New test: common/transaction/callback. | |||||
2013-01-16 | Make session cache management functions static, add notifications | Boris Kolpackov | 4 | -68/+131 | |
2013-01-16 | Implement two-phase session insertion | Boris Kolpackov | 9 | -3/+724 | |
On the first step an uninitialized object is inserted into the cache as before (this is necessary to handle recursive loading). The second step is to notify the session that the object has been initialized. On this second step the session can perform change tracking preparations, such as make a copy of the object or reset the modification flag. New test: common/session/custom (implements a custom session that uses copies to track changes). | |||||
2013-01-16 | Rename common/session to common/session/cache | Boris Kolpackov | 5 | -11/+11 | |
2013-01-14 | Fix bug in handling polymorphic derived classes without any value members | Boris Kolpackov | 3 | -1/+98 | |
2012-12-12 | Don't use 0 to initialize std::function2.2.0.a2 | Boris Kolpackov | 1 | -3/+5 | |
This doesn't work on VC++ 11. | |||||
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 1 | -9/+9 | |
2012-11-21 | Add dynamic multi-database query support | Boris Kolpackov | 1 | -3/+3 | |
2012-10-29 | Add workaround for VC++2.2.0.a1 | Boris Kolpackov | 1 | -7/+9 | |
2012-10-29 | Fix incorrect relative paths | Boris Kolpackov | 3 | -12/+12 | |
2012-10-19 | Remove unnecessary code | Boris Kolpackov | 1 | -1/+0 | |
2012-10-19 | Implement early connection release | Boris Kolpackov | 2 | -69/+77 | |
2012-10-19 | Add another case to prepared query test | Boris Kolpackov | 1 | -1/+33 | |
2012-10-19 | Completion of prepared query support | Boris Kolpackov | 8 | -9/+304 | |
2012-10-19 | Initial support for prepared queries | Boris Kolpackov | 5 | -0/+217 | |
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 1 | -3/+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-10-08 | Fix bug in transient inheritance handling | Boris Kolpackov | 24 | -60/+316 | |
Also test that we can handle it for objects, composite values, and views. | |||||
2012-10-08 | More query result size() fixes | Boris Kolpackov | 1 | -1/+12 | |
2012-09-28 | Make sure size() can still be called once we reached the end of result set | Boris Kolpackov | 2 | -0/+46 | |
2012-09-18 | Use more portable regex separator2.1.0 | Boris Kolpackov | 1 | -2/+2 | |
In particular, if we use / as in "/foo/bar/", MinGW will replace the leading / with a Windows path. So we use # instead, which seems to work well everywhere. | |||||
2012-09-17 | Remove unused local typedefs (GCC 4.8 warning) | Boris Kolpackov | 4 | -21/+1 | |
2012-09-17 | Use type name directly instead of typedef'ing alias | Boris Kolpackov | 1 | -2/+1 | |
2012-09-16 | Add support for Visual Studio 2012 | Boris Kolpackov | 42 | -39/+349 | |
2012-09-14 | Fix dist target | Boris Kolpackov | 1 | -0/+1 | |
2012-09-11 | Add support for mapping std::array to BLOB and char[16] to UUID types | Boris Kolpackov | 2 | -8/+34 | |
2012-09-06 | Rename id() to no_id | Boris Kolpackov | 1 | -1/+1 | |
2012-09-06 | Split polymorphism test.hxx to multiple files | Boris Kolpackov | 16 | -1061/+1232 | |
2012-08-31 | Test handling multi-member composite object id using virtual data member | Boris Kolpackov | 2 | -1/+59 | |
2012-08-31 | Add support for virtual data members | Boris Kolpackov | 5 | -0/+381 | |
New test: common/virtual. | |||||
2012-08-16 | Add support for automatically discovering accessor/modifier functions | Boris Kolpackov | 3 | -7/+142 | |
New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace. | |||||
2012-08-15 | Add support for member accessors/modifiers | Boris Kolpackov | 6 | -5/+851 | |
New pragmas: get, set, access. New test: common/access. | |||||
2012-08-01 | Add support for empty column names in composite value types | Boris Kolpackov | 2 | -98/+161 | |
2012-07-31 | Add support for changing location that ODB views as class definition | Boris Kolpackov | 6 | -0/+218 | |
This is useful for making third-party/system types into ODB composite value types. New pragma: definition. New test: common/definition. | |||||
2012-07-27 | Restore exception handling | Boris Kolpackov | 1 | -5/+0 | |
2012-07-25 | Add support for defining indexes | Boris Kolpackov | 5 | -0/+300 | |
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index. | |||||
2012-07-17 | Add support for tests with multiple ODB headers | Boris Kolpackov | 6 | -44/+62 | |
2012-07-17 | Disable foreign keys for MySQL and SQLite while creating schema | Boris Kolpackov | 1 | -1/+21 | |
2012-07-16 | Fix code generation for circularly-dependant classes in separate headers | Boris Kolpackov | 10 | -0/+396 | |
New tests: common/circular/{single,multiple}. | |||||
2012-04-29 | Factor TR1/C++11 shared_ptr test into separate object2.0.0 | Boris Kolpackov | 2 | -53/+70 | |
The current approach causes problems with foreign key constraints during table dropping. | |||||
2012-04-27 | Support for NULL value semantics for composite values | Boris Kolpackov | 2 | -0/+128 | |