diff options
Diffstat (limited to 'odb/pgsql/polymorphic-object-statements.hxx')
-rw-r--r-- | odb/pgsql/polymorphic-object-statements.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/pgsql/polymorphic-object-statements.hxx b/odb/pgsql/polymorphic-object-statements.hxx index 2f1a03a..6109597 100644 --- a/odb/pgsql/polymorphic-object-statements.hxx +++ b/odb/pgsql/polymorphic-object-statements.hxx @@ -378,7 +378,11 @@ namespace odb container_statement_cache_type& container_statment_cache () { - return container_statement_cache_.get (conn_); + return container_statement_cache_.get ( + conn_, + root_statements_.id_image_binding (), + root_statements_.id_image_native_binding (), + object_traits::find_statement_types); } public: |