aboutsummaryrefslogtreecommitdiff
path: root/common/session/custom/session.hxx
AgeCommit message (Collapse)AuthorFilesLines
2014-06-23Fix typo in commentBoris Kolpackov1-1/+1
2013-02-12Don't use uninitialized iterator on the rhs of assignment2.2.0Boris Kolpackov1-0/+11
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2013-01-20Add cache_ suffix to session cache functionsBoris Kolpackov1-14/+15
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 Kolpackov1-10/+17
New test: common/transaction/callback.
2013-01-16Make session cache management functions static, add notificationsBoris Kolpackov1-21/+43
2013-01-16Implement two-phase session insertionBoris Kolpackov1-0/+139
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).