aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/query.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-11-29 11:32:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-11-29 11:32:44 +0200
commit2658e8e14e24a2d9bb57bf82c96421eb4d7a9d71 (patch)
tree043c38a404680bc593dee8f55b7a532f8a38b05a /odb/oracle/query.hxx
parentb3826d5ff054deeb7ba22aecb242cec2dca2f93a (diff)
Namespace management for static multi-database support
Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::<db>::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::<db>::core just like for odb::core.
Diffstat (limited to 'odb/oracle/query.hxx')
-rw-r--r--odb/oracle/query.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/oracle/query.hxx b/odb/oracle/query.hxx
index 1bf6853..cf35559 100644
--- a/odb/oracle/query.hxx
+++ b/odb/oracle/query.hxx
@@ -1937,6 +1937,11 @@ namespace odb
{
}
};
+
+ namespace core
+ {
+ using oracle::query;
+ }
}
// Derive odb::query from odb::oracle::query so that it can be