diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-26 15:04:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-26 15:04:56 +0200 |
commit | 06583147eaa601764a789ae586384e38e05e9015 (patch) | |
tree | 03792913f585e4884843f1d6c52988d8dfa96a87 /odb/relational/validator.cxx | |
parent | 858b2d37950c33cdf076382849de952ea44d7779 (diff) |
Implement optimistic concurrency support in bulk operations
Bulk update and SQL Server ROWVERSION not yet supported.
Diffstat (limited to 'odb/relational/validator.cxx')
-rw-r--r-- | odb/relational/validator.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/odb/relational/validator.cxx b/odb/relational/validator.cxx index 6c3a6fd..33d796d 100644 --- a/odb/relational/validator.cxx +++ b/odb/relational/validator.cxx @@ -409,17 +409,9 @@ namespace relational break; } - if (optimistic (c)) - { - error (l) << "bulk operations on optimistic objects are not " - "supported" << endl; - valid_ = false; - break; - } - bool update (true); - // If we have a change-updated section, then we cannot generate + // Unless we only have manually-updated sections, we cannot generate // the bulk update operation. // user_sections& uss (c.get<user_sections> ("user-sections")); |