aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/exceptions.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-11-29 11:32:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-11-29 11:32:43 +0200
commit9f0b648c14bbb6dbb1a36c9bd4d88c5773c72ca0 (patch)
tree1f831fefcf6a5bc6e4a5bfb4113977b61f01bb7f /odb/mssql/exceptions.hxx
parente04895dcc4008a8c0cf53f34ef787a9c686ebcde (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/mssql/exceptions.hxx')
-rw-r--r--odb/mssql/exceptions.hxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/odb/mssql/exceptions.hxx b/odb/mssql/exceptions.hxx
index 1f13948..8e01f4f 100644
--- a/odb/mssql/exceptions.hxx
+++ b/odb/mssql/exceptions.hxx
@@ -12,8 +12,9 @@
#include <odb/exceptions.hxx>
-#include <odb/mssql/mssql-fwd.hxx>
#include <odb/mssql/version.hxx>
+#include <odb/mssql/forward.hxx>
+#include <odb/mssql/mssql-fwd.hxx>
#include <odb/mssql/details/export.hxx>
namespace odb
@@ -113,6 +114,13 @@ namespace odb
virtual const char*
what () const throw ();
};
+
+ namespace core
+ {
+ using mssql::database_exception;
+ using mssql::cli_exception;
+ using mssql::long_data_reload;
+ }
}
}