diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-16 16:31:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-16 16:31:29 +0200 |
commit | 53e67434842568a929cddc4db775dbf958f3d264 (patch) | |
tree | 70492c1646b37b3bc10913f252ef7e58d34e1857 | |
parent | 424b08e7e843498923b3c55e576c11cdf4f2e158 (diff) |
Make session cache management functions static, add notifications
-rw-r--r-- | odb/pgsql/polymorphic-object-result.txx | 2 | ||||
-rw-r--r-- | odb/pgsql/simple-object-statements.txx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/pgsql/polymorphic-object-result.txx b/odb/pgsql/polymorphic-object-result.txx index e968b82..9c66345 100644 --- a/odb/pgsql/polymorphic-object-result.txx +++ b/odb/pgsql/polymorphic-object-result.txx @@ -153,7 +153,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/pgsql/simple-object-statements.txx b/odb/pgsql/simple-object-statements.txx index c9eda09..0bad7e5 100644 --- a/odb/pgsql/simple-object-statements.txx +++ b/odb/pgsql/simple-object-statements.txx @@ -144,7 +144,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 (); } } |