summaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
Diffstat (limited to 'odb')
-rw-r--r--odb/relational/source.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx
index bd94eba..44c4959 100644
--- a/odb/relational/source.hxx
+++ b/odb/relational/source.hxx
@@ -2494,6 +2494,8 @@ namespace relational
virtual void
generate ()
{
+ extra_pre ();
+
os << "#include <odb/cache-traits.hxx>" << endl;
if (embedded_schema)
@@ -2506,8 +2508,6 @@ namespace relational
os << endl;
- extra_pre ();
-
os << "#include <odb/" << db << "/traits.hxx>" << endl
<< "#include <odb/" << db << "/database.hxx>" << endl
<< "#include <odb/" << db << "/transaction.hxx>" << endl