aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-07-04 17:53:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-07-04 17:53:47 +0200
commit932cd7a53b3996468fee5cfa63c2b2998dbe971a (patch)
tree55424fe09a95310bc2b8e6d1473108b64107e06c /NEWS
parent1ac1ae65e6cbf42c002acb27615127bbc0b20d9e (diff)
Implement support for database operations callbacks
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback".
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 8dde908..7851416 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,13 @@
Version 1.5.0
+ * Support for database operations callbacks. Now a persistent class can
+ register a callback function that will be called before and after every
+ database operation, such as persist, load, update, or erase, is performed
+ on an object of this class. A database operations callback can be used to
+ implement object-specific pre and post initializations, registrations,
+ and cleanups. For more information and an example refer to Section 10.1.4,
+ "Callback" in the ODB manual.
+
* New option, --include-regex, allows the modification of the #include
directive paths generated by the ODB compiler. This is primarily useful
when placing the generating code into subdirectories and the #include