diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-29 11:32:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-29 11:32:44 +0200 |
commit | 2658e8e14e24a2d9bb57bf82c96421eb4d7a9d71 (patch) | |
tree | 043c38a404680bc593dee8f55b7a532f8a38b05a /odb/oracle/exceptions.hxx | |
parent | b3826d5ff054deeb7ba22aecb242cec2dca2f93a (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/exceptions.hxx')
-rw-r--r-- | odb/oracle/exceptions.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/odb/oracle/exceptions.hxx b/odb/oracle/exceptions.hxx index 73fb4c5..0173014 100644 --- a/odb/oracle/exceptions.hxx +++ b/odb/oracle/exceptions.hxx @@ -13,6 +13,7 @@ #include <odb/exceptions.hxx> #include <odb/oracle/version.hxx> +#include <odb/oracle/forward.hxx> #include <odb/oracle/oracle-fwd.hxx> #include <odb/oracle/details/export.hxx> @@ -106,6 +107,14 @@ namespace odb virtual const char* what () const throw (); }; + + namespace core + { + using oracle::database_exception; + using oracle::lob_comparison; + using oracle::cli_exception; + using oracle::invalid_oci_handle; + } } } |