aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/oracle/database.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/oracle/database.hxx b/odb/oracle/database.hxx
index ae0dc38..2b36e56 100644
--- a/odb/oracle/database.hxx
+++ b/odb/oracle/database.hxx
@@ -379,6 +379,11 @@ namespace odb
using odb::database::tracer;
public:
+ // Database id constant (useful for meta-programming).
+ //
+ static const odb::database_id database_id = id_oracle;
+
+ public:
virtual
~database ();