aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/statement-cache.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-08 16:09:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-08 16:09:08 +0200
commit745e3ddf00303f6fed4e3962647c4eb11ee64816 (patch)
tree3ab2ce1b6709e8d3f8b41b0499cdc58f190110b1 /odb/oracle/statement-cache.txx
parentd20629df902528e9112d146d97e0523104a46619 (diff)
Ground work for multi-database support
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface.
Diffstat (limited to 'odb/oracle/statement-cache.txx')
-rw-r--r--odb/oracle/statement-cache.txx7
1 files changed, 5 insertions, 2 deletions
diff --git a/odb/oracle/statement-cache.txx b/odb/oracle/statement-cache.txx
index 6f62b8f..77bed7e 100644
--- a/odb/oracle/statement-cache.txx
+++ b/odb/oracle/statement-cache.txx
@@ -7,10 +7,13 @@ namespace odb
namespace oracle
{
template <typename T>
- typename object_traits<T>::statements_type& statement_cache::
+ typename object_traits_impl<T, id_oracle>::statements_type&
+ statement_cache::
find_object ()
{
- typedef typename object_traits<T>::statements_type statements_type;
+ typedef
+ typename object_traits_impl<T, id_oracle>::statements_type
+ statements_type;
map::iterator i (map_.find (&typeid (T)));