summaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
Diffstat (limited to 'odb')
-rw-r--r--odb/relational/header.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx
index 49a796f..0806042 100644
--- a/odb/relational/header.hxx
+++ b/odb/relational/header.hxx
@@ -965,6 +965,9 @@ namespace relational
os << "typedef object_traits< " << base << " >::id_type id_type;"
<< endl
+ << "static const bool auto_id = object_traits< " << base <<
+ " >::auto_id;"
+ << endl
<< "typedef object_traits< " << base << " >::id_image_type " <<
"id_image_type;"
<< endl;