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
commit61629555cc80d18cf500b5bd38b444f7fd124b99 (patch)
tree8dda50e0e810035c35cc00109711d4cdec663a04
parentb76acd5a985be43ed58e023bd4fb51d92471d665 (diff)
Make session cache management functions static, add notifications
-rw-r--r--odb/mssql/polymorphic-object-result.txx2
-rw-r--r--odb/mssql/simple-object-statements.txx2
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/mssql/polymorphic-object-result.txx b/odb/mssql/polymorphic-object-result.txx
index ebc51f3..fd72f74 100644
--- a/odb/mssql/polymorphic-object-result.txx
+++ b/odb/mssql/polymorphic-object-result.txx
@@ -173,7 +173,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/mssql/simple-object-statements.txx b/odb/mssql/simple-object-statements.txx
index 1c58752..fb05434 100644
--- a/odb/mssql/simple-object-statements.txx
+++ b/odb/mssql/simple-object-statements.txx
@@ -121,7 +121,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 ();
}
}