From fe69d94f3d2dcb37d69ac2d7a0f88ad5fce2ad5c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Mar 2011 11:56:33 +0200 Subject: Add support for embedded database schemas New options: --schema-format, --default-schema. New example: schema/embedded. --- NEWS | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index c489179..0a005a1 100644 --- a/NEWS +++ b/NEWS @@ -11,10 +11,19 @@ Version 1.2.0 using namespace odb; The new approach brings all the essential ODB names into the current - namespace without any of the auxiliary objects such as traits, etc., - which minimizes the likelihood of conflicts with other libraries. - Note that you can still use the odb namespace when qualifying - individual names, for example, odb::database. + namespace without any of the auxiliary objects such as traits, etc., which + minimizes the likelihood of conflicts with other libraries. Note that you + can still use the odb namespace when qualifying individual names, for + example, odb::database. + + * Support for embedded database schemas. The new option, --schema-format, + allows the selection of the schema format. The valid values for this + option are 'sql' for a standalone SQL file and 'embedded' for a schema + embedded into the generated C++ code. The new odb::schema_catalog class + provides support for accessing embedded schemas from within the + application. For details refer to Section 3.3, "Database" in the ODB + manual as well as the 'schema/embedded' example in the odb-examples + package. * New exceptions: odb::recoverbale, odb::connection_lost, and odb::timeout. The odb::recoverbale exception is a common base class for all recoverable -- cgit v1.1