diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-11-07 15:15:27 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-11-08 14:46:51 +0200 |
commit | 70492a2ffe88a8ba8393a895eee7716778bec84a (patch) | |
tree | f87cbf22f47138df17835793b256253ba87a2ef7 /odb/relational/oracle/context.hxx | |
parent | f22c9c10eb07c93be47549410e0352b0dfbd598a (diff) |
Add support for Oracle INTERVAL temporal types
Diffstat (limited to 'odb/relational/oracle/context.hxx')
-rw-r--r-- | odb/relational/oracle/context.hxx | 5 |
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; }; |