aboutsummaryrefslogtreecommitdiff
path: root/common/session
AgeCommit message (Collapse)AuthorFilesLines
2013-06-13Handle --database option directly in automake and VC++ projectsBoris Kolpackov2-7/+9
2013-06-03Use database name in options and driver files (build part)Boris Kolpackov2-2/+2
This way we will be able to have several databases configured at the same time, which is needed for multi-database support testing.
2013-02-12Don't use uninitialized iterator on the rhs of assignment2.2.0Boris Kolpackov1-0/+11
2013-02-11Add extra source to distBoris Kolpackov1-0/+1
2013-02-11Account for C++11 compilers without default function template argumentsBoris Kolpackov1-0/+9
2013-02-09Update copyright yearBoris Kolpackov9-9/+9
2013-02-08Add callback_ prefix to transaction callback functionsBoris Kolpackov1-2/+3
Also test callback_update().
2013-02-06Fix incorrect dist variableBoris Kolpackov1-1/+1
2013-01-20Add cache_ suffix to session cache functionsBoris Kolpackov2-24/+26
This way they won't conflict with other functions (e.g., delayed database operations) that may have the same names.
2013-01-20Add extra headers to dist target variablesBoris Kolpackov1-1/+2
2013-01-18Add support for post-commit/rollback callbacksBoris Kolpackov4-99/+168
New test: common/transaction/callback.
2013-01-16Make session cache management functions static, add notificationsBoris Kolpackov4-68/+131
2013-01-16Implement two-phase session insertionBoris Kolpackov7-0/+708
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-16Rename common/session to common/session/cacheBoris Kolpackov4-10/+10
2012-09-16Add support for Visual Studio 2012Boris Kolpackov1-1/+3
2012-04-26Make session optionalBoris Kolpackov2-1/+2
2012-03-06Detect situations where session is required but not usedBoris Kolpackov4-0/+262
Throw session_required.