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
commit137663953feb2362c973d7528cf103cadd50d845 (patch)
tree8e05a52b90cebf27a3ff1b4dfe295d3c1700cfb0
parent3f8c83103af11906adbd9c399f1c9efb2eb9b0ed (diff)
Make session cache management functions static, add notifications
-rw-r--r--odb/sqlite/polymorphic-object-result.txx2
-rw-r--r--odb/sqlite/simple-object-statements.txx2
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/sqlite/polymorphic-object-result.txx b/odb/sqlite/polymorphic-object-result.txx
index 7591194..a91aab0 100644
--- a/odb/sqlite/polymorphic-object-result.txx
+++ b/odb/sqlite/polymorphic-object-result.txx
@@ -155,7 +155,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/sqlite/simple-object-statements.txx b/odb/sqlite/simple-object-statements.txx
index f3e617a..51c4948 100644
--- a/odb/sqlite/simple-object-statements.txx
+++ b/odb/sqlite/simple-object-statements.txx
@@ -118,7 +118,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 ();
}
}