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 | 9f994010f871ce0ea1aea58482ddef503cfc81c3 (patch) | |
tree | 8375e64317972e048ff2f683489c8ae3e46897d6 /odb/pgsql/polymorphic-object-statements.hxx | |
parent | 5303dd088f25ecbd5cf2b3bd423f977874223fae (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/pgsql/polymorphic-object-statements.hxx')
-rw-r--r-- | odb/pgsql/polymorphic-object-statements.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/polymorphic-object-statements.hxx b/odb/pgsql/polymorphic-object-statements.hxx index 8a85e3c..2f1a03a 100644 --- a/odb/pgsql/polymorphic-object-statements.hxx +++ b/odb/pgsql/polymorphic-object-statements.hxx @@ -166,7 +166,7 @@ namespace odb { public: typedef T object_type; - typedef odb::object_traits<object_type> object_traits; + typedef object_traits_impl<object_type, id_pgsql> 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; |