aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-01-16 16:31:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-01-16 16:31:29 +0200
commitbbf19494f111068075e7c3483089359d8fdc1335 (patch)
tree40fdb1b16e7c17ce6e6a5de58c9eefee19c554e9
parentecacd1fab70b761f3588165630c1ade7a88c0c24 (diff)
Make session cache management functions static, add notifications
-rw-r--r--odb/oracle/polymorphic-object-result.txx2
-rw-r--r--odb/oracle/simple-object-statements.txx2
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/oracle/polymorphic-object-result.txx b/odb/oracle/polymorphic-object-result.txx
index 7fcb194..4458b7d 100644
--- a/odb/oracle/polymorphic-object-result.txx
+++ b/odb/oracle/polymorphic-object-result.txx
@@ -172,7 +172,7 @@ namespace odb
ce = callback_event::post_load;
pi.dispatch (info_type::call_callback, this->db_, pobj, &ce);
- object_traits::pointer_cache_traits::initialize (ig.position ());
+ object_traits::pointer_cache_traits::load (ig.position ());
ig.release ();
}
diff --git a/odb/oracle/simple-object-statements.txx b/odb/oracle/simple-object-statements.txx
index 27a95e0..d518d64 100644
--- a/odb/oracle/simple-object-statements.txx
+++ b/odb/oracle/simple-object-statements.txx
@@ -116,7 +116,7 @@ namespace odb
else
l.loader (db, l.id, *l.obj);
- pointer_cache_traits::initialize (ig.position ());
+ pointer_cache_traits::load (ig.position ());
ig.release ();
}
}