From 70492a2ffe88a8ba8393a895eee7716778bec84a Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Mon, 7 Nov 2011 15:15:27 +0200 Subject: Add support for Oracle INTERVAL temporal types --- odb/relational/oracle/context.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'odb/relational/oracle/context.hxx') 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; }; -- cgit v1.1