From a9d527ffd7e4a2222d5e80c8110f092af0cb5a74 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Sep 2010 10:42:46 +0200 Subject: Change pragma syntax Change odb pragma namespace to db. Use qualifiers (object, value, and member) to specify type/member name. Add support for mapping C++ types to db types. --- common/lifecycle/test.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/lifecycle') diff --git a/common/lifecycle/test.hxx b/common/lifecycle/test.hxx index 268678c..6db1c7e 100644 --- a/common/lifecycle/test.hxx +++ b/common/lifecycle/test.hxx @@ -9,7 +9,7 @@ #include #include -#pragma odb object +#pragma db object struct object { object (unsigned long id) @@ -21,7 +21,7 @@ struct object { } - #pragma odb id + #pragma db id unsigned long id_; std::string str_; }; -- cgit v1.1