aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/exceptions.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-08-14 09:37:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-25 06:46:33 +0200
commit239c24da194d98e0823642d408d35fc8fe3e7ae9 (patch)
tree153657a311112fe716a5e0312c97767cd10becca /odb/mssql/exceptions.cxx
parent94f3cb74b800ab25394b22e91b3ece764fb55bb7 (diff)
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/mssql/exceptions.cxx')
-rw-r--r--odb/mssql/exceptions.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/odb/mssql/exceptions.cxx b/odb/mssql/exceptions.cxx
index 33aaba4..44cdf2e 100644
--- a/odb/mssql/exceptions.cxx
+++ b/odb/mssql/exceptions.cxx
@@ -57,6 +57,12 @@ namespace odb
return what_.c_str ();
}
+ database_exception* database_exception::
+ clone () const
+ {
+ return new database_exception (*this);
+ }
+
//
// cli_exception
//
@@ -78,6 +84,12 @@ namespace odb
return what_.c_str ();
}
+ cli_exception* cli_exception::
+ clone () const
+ {
+ return new cli_exception (*this);
+ }
+
//
// long_data_reload
//
@@ -88,5 +100,11 @@ namespace odb
return "attempt to re-load object or view with long data "
"from query result";
}
+
+ long_data_reload* long_data_reload::
+ clone () const
+ {
+ return new long_data_reload (*this);
+ }
}
}