aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-04-25Add support for schema version tableBoris Kolpackov4-7/+125
2013-04-25Add default constructor, finalized() accessor to transactionBoris Kolpackov2-0/+17
2013-04-25Add schema_catalog::drop_schema(), control schema dropping in create_schema()Boris Kolpackov2-9/+28
2013-04-09Add support for embedded schema migrationBoris Kolpackov6-19/+234
2013-02-21Add support for pattern matching (SQL LIKE)Boris Kolpackov3-0/+95
2013-02-21Bump version to 2.2.22.2.2Boris Kolpackov2-3/+3
2013-02-21Handle operations other than 'eq' and 'and' in dynamic queriesBoris Kolpackov1-2/+19
2013-02-14Bump version to 2.2.12.2.1Boris Kolpackov2-3/+3
2013-02-14Make sure windows.hxx is always installed on WindowsBoris Kolpackov8-21/+42
2013-02-12Don't use uninitialized iterator on the rhs of assignment2.2.0Boris Kolpackov1-0/+11
2013-02-12Factor windows.h inclusion into separate header, disable min/max macrosBoris Kolpackov12-74/+45
2013-02-12Workarounds for non-standard Sun CC STLBoris Kolpackov4-163/+210
2013-02-11Remove stray referencesBoris Kolpackov1-4/+4
2013-02-11Support compilers that deduce const arrays to const reference differentlyBoris Kolpackov1-0/+15
2013-02-11Detect POSIX threads on MinGW-W64Boris Kolpackov1-1/+10
2013-02-09Remove unnecessary local typedef (GCC 4.8 warning)Boris Kolpackov1-2/+0
2013-02-09Bump version to 2.2.0Boris Kolpackov2-5/+5
2013-02-09Update copyright yearBoris Kolpackov184-184/+184
2013-02-09Escape m4 macroBoris Kolpackov1-1/+1
2013-02-08Add schema_catalog::exists() functionBoris Kolpackov2-0/+16
2013-02-08Add callback_ prefix to transaction callback functionsBoris Kolpackov5-35/+43
Also test callback_update().
2013-02-08Remove stray textBoris Kolpackov1-1/+1
2013-02-06Add call to AM_PROG_AR which is required by newer automakeBoris Kolpackov1-0/+1
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
2013-02-06Fix incorrect AC_LANG_SOURCE quotingBoris Kolpackov2-6/+6
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
2013-02-05Add support for change-tracking containersBoris Kolpackov19-136/+1909
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-02-05Add support for updating callback registrationBoris Kolpackov2-40/+74
2013-01-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov2-10/+66
Also improve query support for arrays (decaying).
2013-01-20Add cache_ suffix to session cache functionsBoris Kolpackov4-65/+127
This way they won't conflict with other functions (e.g., delayed database operations) that may have the same names.
2013-01-18Add support for post-commit/rollback callbacksBoris Kolpackov3-1/+273
New test: common/transaction/callback.
2013-01-17Cosmetic changeBoris Kolpackov1-1/+1
2013-01-16Make session cache management functions static, add notificationsBoris Kolpackov9-89/+138
2013-01-16Implement two-phase session insertionBoris Kolpackov6-8/+48
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-16Add support for using custom session implementationsBoris Kolpackov4-26/+26
New option, --session-type.
2013-01-16Add support for low-level access to object cacheBoris Kolpackov1-8/+16
2013-01-16Cleanup object cache position typeBoris Kolpackov4-16/+30
2013-01-15Bump version to 2.2.0.a3Boris Kolpackov2-5/+5
2013-01-09Work around "changes meaning" error in older GCCBoris Kolpackov1-4/+4
2012-12-12Bump version to 2.2.0.a22.2.0.a2Boris Kolpackov2-5/+5
2012-12-12Don't use 0 to initialize std::functionBoris Kolpackov1-1/+3
This doesn't work on VC++ 11.
2012-12-10Fix incorrect return statementBoris Kolpackov2-4/+4
2012-11-29Namespace management for static multi-database supportBoris Kolpackov9-14/+36
Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::<db>::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::<db>::core just like for odb::core.
2012-11-28Add support for DLL exporting of generated codeBoris Kolpackov1-10/+1
New options: --export-symbol, --extern-symbol.
2012-11-21Add dynamic multi-database query supportBoris Kolpackov12-35/+1328
2012-11-02Rework query alias tag systemBoris Kolpackov1-5/+4
Now each object pointer or view-associated object with alias gets its own unique tag.
2012-10-31Add dynamic multi-database support excluding queryBoris Kolpackov2-2/+37
2012-10-29Add workaround for VC++2.2.0.a1Boris Kolpackov5-5/+6
2012-10-29Bump version to 2.2.0.a1Boris Kolpackov2-5/+5
2012-10-29Add static multi-database support for lazy pointersBoris Kolpackov7-242/+334
A lazy pointer must load the object using the static database interface with which it was initialized.
2012-10-25Static multi-database supportBoris Kolpackov1-1/+0
Add new options (--multi-database, --default-database). Generate common code to -odb.?xx files and database-specific to -odb-<db>.?xx.
2012-10-19Implement early connection releaseBoris Kolpackov16-94/+269