From 932cd7a53b3996468fee5cfa63c2b2998dbe971a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 4 Jul 2011 17:53:47 +0200 Subject: Implement support for database operations callbacks New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback". --- NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'NEWS') 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 -- cgit v1.1