aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/qt/basic-mysql.options5
-rw-r--r--odb/qt/basic-pgsql.options5
-rw-r--r--odb/qt/basic-sqlite.options5
-rw-r--r--odb/qt/date-time-mysql.options5
-rw-r--r--odb/qt/date-time-pgsql.options5
-rw-r--r--odb/qt/date-time-sqlite.options5
6 files changed, 24 insertions, 6 deletions
diff --git a/odb/qt/basic-mysql.options b/odb/qt/basic-mysql.options
index adb3529..0be19f2 100644
--- a/odb/qt/basic-mysql.options
+++ b/odb/qt/basic-mysql.options
@@ -5,7 +5,10 @@
--profile qt/version
---odb-epilogue '#include <odb/qt/basic/mysql/default-mapping.hxx>'
+# Include the default mapping in prologue instead of epilogue to
+# allow the user to override the default mapping.
+#
+--odb-prologue '#include <odb/qt/basic/mysql/default-mapping.hxx>'
--hxx-prologue '#include <odb/qt/basic/mysql/qstring-traits.hxx>'
--hxx-prologue '#include <odb/qt/basic/mysql/qbyte-array-traits.hxx>'
diff --git a/odb/qt/basic-pgsql.options b/odb/qt/basic-pgsql.options
index 1940dc6..238bc42 100644
--- a/odb/qt/basic-pgsql.options
+++ b/odb/qt/basic-pgsql.options
@@ -5,7 +5,10 @@
--profile qt/version
---odb-epilogue '#include <odb/qt/basic/pgsql/default-mapping.hxx>'
+# Include the default mapping in prologue instead of epilogue to
+# allow the user to override the default mapping.
+#
+--odb-prologue '#include <odb/qt/basic/pgsql/default-mapping.hxx>'
--hxx-prologue '#include <odb/qt/basic/pgsql/qstring-traits.hxx>'
--hxx-prologue '#include <odb/qt/basic/pgsql/qbyte-array-traits.hxx>'
diff --git a/odb/qt/basic-sqlite.options b/odb/qt/basic-sqlite.options
index 4a5a082..7251482 100644
--- a/odb/qt/basic-sqlite.options
+++ b/odb/qt/basic-sqlite.options
@@ -5,7 +5,10 @@
--profile qt/version
---odb-epilogue '#include <odb/qt/basic/sqlite/default-mapping.hxx>'
+# Include the default mapping in prologue instead of epilogue to
+# allow the user to override the default mapping.
+#
+--odb-prologue '#include <odb/qt/basic/sqlite/default-mapping.hxx>'
--hxx-prologue '#include <odb/qt/basic/sqlite/qstring-traits.hxx>'
--hxx-prologue '#include <odb/qt/basic/sqlite/qbyte-array-traits.hxx>'
diff --git a/odb/qt/date-time-mysql.options b/odb/qt/date-time-mysql.options
index 02bebf7..8073903 100644
--- a/odb/qt/date-time-mysql.options
+++ b/odb/qt/date-time-mysql.options
@@ -5,7 +5,10 @@
--profile qt/version
---odb-epilogue '#include <odb/qt/date-time/mysql/default-mapping.hxx>'
+# Include the default mapping in prologue instead of epilogue to
+# allow the user to override the default mapping.
+#
+--odb-prologue '#include <odb/qt/date-time/mysql/default-mapping.hxx>'
--hxx-prologue '#include <odb/qt/date-time/mysql/qdate-traits.hxx>'
--hxx-prologue '#include <odb/qt/date-time/mysql/qtime-traits.hxx>'
diff --git a/odb/qt/date-time-pgsql.options b/odb/qt/date-time-pgsql.options
index a637b60..f7f86e5 100644
--- a/odb/qt/date-time-pgsql.options
+++ b/odb/qt/date-time-pgsql.options
@@ -5,7 +5,10 @@
--profile qt/version
---odb-epilogue '#include <odb/qt/date-time/pgsql/default-mapping.hxx>'
+# Include the default mapping in prologue instead of epilogue to
+# allow the user to override the default mapping.
+#
+--odb-prologue '#include <odb/qt/date-time/pgsql/default-mapping.hxx>'
--hxx-prologue '#include <odb/qt/date-time/pgsql/qdate-traits.hxx>'
--hxx-prologue '#include <odb/qt/date-time/pgsql/qtime-traits.hxx>'
diff --git a/odb/qt/date-time-sqlite.options b/odb/qt/date-time-sqlite.options
index c500499..750405c 100644
--- a/odb/qt/date-time-sqlite.options
+++ b/odb/qt/date-time-sqlite.options
@@ -5,7 +5,10 @@
--profile qt/version
---odb-epilogue '#include <odb/qt/date-time/sqlite/default-mapping.hxx>'
+# Include the default mapping in prologue instead of epilogue to
+# allow the user to override the default mapping.
+#
+--odb-prologue '#include <odb/qt/date-time/sqlite/default-mapping.hxx>'
--hxx-prologue '#include <odb/qt/date-time/sqlite/qdate-traits.hxx>'
--hxx-prologue '#include <odb/qt/date-time/sqlite/qtime-traits.hxx>'