aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2012-10-19Completion of prepared query supportBoris Kolpackov13-24/+574
2012-10-19Update prepared statement code for multi-database supportBoris Kolpackov1-1/+2
2012-10-19Initial support for prepared queriesBoris Kolpackov17-53/+162
2012-10-08Ground work for multi-database supportBoris Kolpackov12-212/+398
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-09-17Remove unused local typedefs (GCC 4.8 warning)2.1.0Boris Kolpackov1-2/+0
2012-09-16Add support for Visual Studio 2012Boris Kolpackov5-2/+229
2012-09-14Bump version to 2.1.0Boris Kolpackov2-5/+5
2012-07-27Bump version to 2.1.0.a22.1.0.a2Boris Kolpackov2-5/+5
2012-07-17Bump version to 2.1.0.a12.1.0.a1Boris Kolpackov2-5/+5
2012-07-16Simplify query inheritance hierarchyBoris Kolpackov1-2/+2
This should also allow Sun CC handle queries for objects with circular dependencies.
2012-07-03Add template qualifiers that are missing according to Clang 3.1Boris Kolpackov6-18/+32
2012-06-18Add argument to session ctor that indicates whether to make it currentBoris Kolpackov2-8/+11
2012-06-18Remove unnecessary checks for current transactionBoris Kolpackov2-5/+3
2012-06-18Bump version to 2.0.12.0.1Boris Kolpackov2-3/+3
2012-06-18Add workaround for VC++ lookup bugBoris Kolpackov1-1/+1
2012-05-04Add -D_REENTRANT when building on Linux to emulate -pthreadBoris Kolpackov1-1/+3
2012-04-30Add empty source file to facilitate VC++ symbol exporting2.0.0Boris Kolpackov2-0/+12
2012-04-30VC++ workaroundsBoris Kolpackov2-3/+9
2012-04-29Bump version to 2.0.0Boris Kolpackov2-5/+5
2012-04-29Rework unique pointer conversion (Clang warning)Boris Kolpackov1-21/+19
2012-04-29Add missing #includeBoris Kolpackov1-0/+2