aboutsummaryrefslogtreecommitdiff
path: root/common/readonly/driver.cxx
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
commit3d1969a43fce72dd50044c5eada38557f3f200bd (patch)
tree8515c6a535117d4f53bc8fe59feab8129563ebb4 /common/readonly/driver.cxx
parent6b76715e63d2c265a4c51c73f9019bc578f874cb (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 'common/readonly/driver.cxx')
-rw-r--r--common/readonly/driver.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/readonly/driver.cxx b/common/readonly/driver.cxx
index b67ed4f..2e692cf 100644
--- a/common/readonly/driver.cxx
+++ b/common/readonly/driver.cxx
@@ -204,9 +204,9 @@ main (int argc, char* argv[])
// Readonly object.
//
{
- typedef odb::object_traits<simple_object> so_traits;
- typedef odb::object_traits<ro_object> ro_traits;
- typedef odb::object_traits<rw_object> rw_traits;
+ typedef odb::object_traits_impl<simple_object, odb::id_default> so_traits;
+ typedef odb::object_traits_impl<ro_object, odb::id_default> ro_traits;
+ typedef odb::object_traits_impl<rw_object, odb::id_default> rw_traits;
assert (so_traits::column_count ==
so_traits::id_column_count + so_traits::readonly_column_count);