diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-14 16:24:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-25 06:42:17 +0200 |
commit | 1be414fc39ae67015615a9188cc39245a0c64220 (patch) | |
tree | ccda8c9655a265e33dc5e8cdaec078f53c1605ce | |
parent | 4954e364d0035fc1dddefbd3cbd143b42fe4722f (diff) |
Implement bulk database operation support for Oracle and SQL Server
-rw-r--r-- | odb/qt/date-time/exceptions.cxx | 6 | ||||
-rw-r--r-- | odb/qt/date-time/exceptions.hxx | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/odb/qt/date-time/exceptions.cxx b/odb/qt/date-time/exceptions.cxx index 2e35936..e745aa7 100644 --- a/odb/qt/date-time/exceptions.cxx +++ b/odb/qt/date-time/exceptions.cxx @@ -15,6 +15,12 @@ namespace odb { return "date/time value out of range"; } + + value_out_of_range* value_out_of_range:: + clone () const + { + return new value_out_of_range (*this); + } } } } diff --git a/odb/qt/date-time/exceptions.hxx b/odb/qt/date-time/exceptions.hxx index bdbc590..70b8181 100644 --- a/odb/qt/date-time/exceptions.hxx +++ b/odb/qt/date-time/exceptions.hxx @@ -20,6 +20,9 @@ namespace odb { virtual const char* what () const throw (); + + virtual value_out_of_range* + clone () const; }; } } |