summaryrefslogtreecommitdiff
path: root/odb/oracle/polymorphic-object-statements.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-04-30 12:05:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-04-30 12:08:17 +0200
commit3e35d69611534c57f06bfc7ec11f505ba97c8aab (patch)
treea167f0acf8bf35bf32dfafe4c226b65b66fae394 /odb/oracle/polymorphic-object-statements.txx
parenta8e11c5e5688f53cd9ac5af6dffe9a3db0dffba7 (diff)
Add transaction::connection(database&) overload
Diffstat (limited to 'odb/oracle/polymorphic-object-statements.txx')
-rw-r--r--odb/oracle/polymorphic-object-statements.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/oracle/polymorphic-object-statements.txx b/odb/oracle/polymorphic-object-statements.txx
index 96ff18a..9d190e5 100644
--- a/odb/oracle/polymorphic-object-statements.txx
+++ b/odb/oracle/polymorphic-object-statements.txx
@@ -107,7 +107,7 @@ namespace odb
root_type& robj,
const schema_version_migration* svm)
{
- connection_type& conn (transaction::current ().connection ());
+ connection_type& conn (transaction::current ().connection (db));
polymorphic_derived_object_statements& sts (
conn.statement_cache ().find_object<object_type> ());
root_statements_type& rsts (sts.root_statements ());