diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:08 +0200 |
commit | 745e3ddf00303f6fed4e3962647c4eb11ee64816 (patch) | |
tree | 3ab2ce1b6709e8d3f8b41b0499cdc58f190110b1 /odb/oracle/polymorphic-object-result.txx | |
parent | d20629df902528e9112d146d97e0523104a46619 (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/polymorphic-object-result.txx')
-rw-r--r-- | odb/oracle/polymorphic-object-result.txx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/oracle/polymorphic-object-result.txx b/odb/oracle/polymorphic-object-result.txx index af9f8eb..9db06cc 100644 --- a/odb/oracle/polymorphic-object-result.txx +++ b/odb/oracle/polymorphic-object-result.txx @@ -35,7 +35,7 @@ namespace odb template <typename T> polymorphic_object_result_impl<T>:: - polymorphic_object_result_impl (const query&, + polymorphic_object_result_impl (const query_base&, details::shared_ptr<select_statement> st, statements_type& sts) : base_type (sts.connection ().database ()), @@ -191,7 +191,7 @@ namespace odb { // Derived type version. // - typedef object_traits<T> traits; + typedef object_traits_impl<T, id_oracle> traits; static void rebind (typename traits::statements_type& sts) @@ -223,7 +223,7 @@ namespace odb { // Root type version. // - typedef object_traits<R> traits; + typedef object_traits_impl<R, id_oracle> traits; static void rebind (typename traits::statements_type& sts) |