diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:07 +0200 |
commit | d3261c7ed4ac622c8807ba88b39bd41632577c4f (patch) | |
tree | 5b21da2657756b553d70526c18ea30c387d2b25b /odb/mssql/polymorphic-object-statements.hxx | |
parent | f301e6ae8a836dff7face65e24e2de29e077166b (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/mssql/polymorphic-object-statements.hxx')
-rw-r--r-- | odb/mssql/polymorphic-object-statements.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mssql/polymorphic-object-statements.hxx b/odb/mssql/polymorphic-object-statements.hxx index 79e9875..bc58f6f 100644 --- a/odb/mssql/polymorphic-object-statements.hxx +++ b/odb/mssql/polymorphic-object-statements.hxx @@ -147,7 +147,7 @@ namespace odb { public: typedef T object_type; - typedef odb::object_traits<object_type> object_traits; + typedef object_traits_impl<object_type, id_mssql> object_traits; typedef typename object_traits::id_type id_type; typedef typename object_traits::pointer_type pointer_type; typedef typename object_traits::id_image_type id_image_type; |