aboutsummaryrefslogtreecommitdiff
path: root/common/session/custom
AgeCommit message (Collapse)AuthorFilesLines
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).