aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/oracle/context.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-11-07 15:15:27 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-08 14:46:51 +0200
commit70492a2ffe88a8ba8393a895eee7716778bec84a (patch)
treef87cbf22f47138df17835793b256253ba87a2ef7 /odb/relational/oracle/context.hxx
parentf22c9c10eb07c93be47549410e0352b0dfbd598a (diff)
Add support for Oracle INTERVAL temporal types
Diffstat (limited to 'odb/relational/oracle/context.hxx')
-rw-r--r--odb/relational/oracle/context.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/relational/oracle/context.hxx b/odb/relational/oracle/context.hxx
index e99b273..c7ba554 100644
--- a/odb/relational/oracle/context.hxx
+++ b/odb/relational/oracle/context.hxx
@@ -34,6 +34,8 @@ namespace relational
//
DATE,
TIMESTAMP,
+ INTERVAL_YM,
+ INTERVAL_DS,
// String and binary types.
//
@@ -60,10 +62,13 @@ namespace relational
}
core_type type;
+
bool range;
unsigned short range_value; // Oracle max value is 4000.
+
bool scale;
short scale_value; // Oracle min value is -84. Max value is 127.
+
bool byte_semantics;
};