From 239c24da194d98e0823642d408d35fc8fe3e7ae9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 14 Aug 2014 09:37:06 +0200 Subject: Implement bulk database operation support for Oracle and SQL Server --- odb/mssql/exceptions.cxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'odb/mssql/exceptions.cxx') 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); + } } } -- cgit v1.1