diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-17 13:35:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-25 06:43:14 +0200 |
commit | d44d7c96d38453d5a971b813be4c6635bf0b38fb (patch) | |
tree | 3d3d0803f4ae707cf8926ce134ace4a35c08a8f5 /odb/mysql/polymorphic-object-statements.hxx | |
parent | f5826c7da4cc11d46a34e4a5e435cff2730c7263 (diff) |
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/mysql/polymorphic-object-statements.hxx')
-rw-r--r-- | odb/mysql/polymorphic-object-statements.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/odb/mysql/polymorphic-object-statements.hxx b/odb/mysql/polymorphic-object-statements.hxx index 63662df..1607926 100644 --- a/odb/mysql/polymorphic-object-statements.hxx +++ b/odb/mysql/polymorphic-object-statements.hxx @@ -314,6 +314,7 @@ namespace odb object_traits::persist_statement, object_traits::versioned, // Process if versioned. insert_image_binding_, + 0, false)); return *persist_; @@ -376,6 +377,7 @@ namespace odb return extra_statement_cache_.get ( conn_, image_, + id_image (), id_image_binding (), &id_image_binding ()); // Note, not id+version. } @@ -414,8 +416,9 @@ namespace odb root_statements_type& root_statements_; base_statements_type& base_statements_; - extra_statement_cache_ptr<extra_statement_cache_type, image_type> - extra_statement_cache_; + extra_statement_cache_ptr<extra_statement_cache_type, + image_type, + id_image_type> extra_statement_cache_; image_type image_; |