aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-07-25 12:39:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-07-25 12:39:30 +0200
commit62f80ff3be185a5b8639b5326aa97cff484e663b (patch)
tree5167af575971a6da950f05a6713bf6bf7bc7ad72 /NEWS
parentcf81d280ff358c96e253648d7a7d88bb5ec0069b (diff)
Proofread NEWS file
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS42
1 files changed, 21 insertions, 21 deletions
diff --git a/NEWS b/NEWS
index e5c49ce..576cd78 100644
--- a/NEWS
+++ b/NEWS
@@ -1,10 +1,10 @@
Version 1.5.0
- * Support for the PostgreSQL database. Provided connection factories include
- 'new' (new connection is created every time one is requested) and 'pool'
- (a pool of connections is maintained). The Boost and Qt profiles have been
- updated to support this database. For more information, refer to Chapter
- 13, "PostgreSQL Database" in the ODB manual.
+ * Support for the PostgreSQL database. The provided connection factories
+ include 'new' (a new connection is created every time one is requested)
+ and 'pool' (a pool of connections is maintained). The Boost and Qt
+ profiles have been updated to support this database. For more information,
+ refer to Chapter 13, "PostgreSQL Database" in the ODB manual.
* New handling of the NULL semantics. Now, instead of being specified as
part of the SQL type with the type pragma, there are separate null and
@@ -12,7 +12,7 @@ Version 1.5.0
semantics of object pointers. Now the two pragmas are used consistently
for object pointers and simple values (and, in the future, they will work
for composite values and containers). To control the NULL semantics of
- container's element values, the value_null and value_not_null pragmas
+ the container's element values, the value_null and value_not_null pragmas
have been added, similar to the value_type, value_column, etc., pragmas.
For more information about the new mechanism, refer to Sections 10.2.3,
10.2.8, 10.3.4, and 10.3.13 in the ODB manual.
@@ -23,35 +23,35 @@ Version 1.5.0
For pragmas that apply to simple value types and data members of
such types:
- #pragma type("TEXT NOT NULL") => #pragma type("TEXT")
- #pragma type("TEXT NULL") => #pragma type("TEXT") null
- #pragma type("TEXT") => #pragma type("TEXT") null
+ #pragma db type("TEXT NOT NULL") => #pragma db type("TEXT")
+ #pragma db type("TEXT NULL") => #pragma db type("TEXT") null
+ #pragma db type("TEXT") => #pragma db type("TEXT") null
- For pragmas that apply to containers of pointers types and data
- members of such types:
+ For pragmas that apply to containers of pointers and data members of
+ such types:
- #pragma not_null => #pragma value_not_null
+ #pragma db not_null => #pragma db value_not_null
* New pragma, default, allows the specification of the database default
- value. For more information refer to Section 10.3.5, "default" in the
+ value. For more information, refer to Section 10.3.5, "default" in the
ODB manual.
* New pragmas, options, id_options, index_options, key_options, and
value_options, allow the specification of additional column definition
- options. For more information refer to Section 10.3.6, "options" in the
- ODB manual.
+ options. For more information, refer to Section 10.3.6, "options" in
+ the ODB manual.
* 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
+ 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.
+ 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
+ when placing the generated code into subdirectories and the #include
directives have to be adjusted accordingly. The --include-regex-trace
option is useful for debugging the expressions specified with
--include-regex.
@@ -91,8 +91,8 @@ Version 1.4.0
Version 1.3.0
- * Support for the SQLite database. Provided connection factories include
- 'new' (new connection is created every time one is requested), 'single'
+ * Support for the SQLite database. The provided connection factories include
+ 'new' (a new connection is created every time one is requested), 'single'
(single connection is shared among all the callers), and 'pool' (a pool
of connections is maintained). In multi-threaded applications the runtime
uses the SQLite shared cache and unlock notification features to aid