diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-01 11:56:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-01 11:56:33 +0200 |
commit | fe69d94f3d2dcb37d69ac2d7a0f88ad5fce2ad5c (patch) | |
tree | d93f7ea21f66e9fe416c48766b99f987ad7b3804 /NEWS | |
parent | 6c97eb68924e7f9ea5b0d859182562ec8f812a1e (diff) |
Add support for embedded database schemas
New options: --schema-format, --default-schema. New example: schema/embedded.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -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 |