aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-09-27 17:07:40 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-09-27 17:07:40 +0200
commitf033924ddddf9cc8aa801c191c7d74fb3c8cf0a8 (patch)
tree7be2a4c10fcf0f9ea721d789dc564279a3e4adc2
parent2c2e3168e8c9c466c2054b9e99155bc262d98064 (diff)
Map long and long long to id_big_int by default
-rw-r--r--odb/oracle/traits.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/oracle/traits.hxx b/odb/oracle/traits.hxx
index 7eb0ef9..30af2a3 100644
--- a/odb/oracle/traits.hxx
+++ b/odb/oracle/traits.hxx
@@ -766,25 +766,25 @@ namespace odb
template <>
struct default_type_traits<long>
{
- static const database_type_id db_type_id = id_int64;
+ static const database_type_id db_type_id = id_big_int;
};
template <>
struct default_type_traits<unsigned long>
{
- static const database_type_id db_type_id = id_int64;
+ static const database_type_id db_type_id = id_big_int;
};
template <>
struct default_type_traits<long long>
{
- static const database_type_id db_type_id = id_int64;
+ static const database_type_id db_type_id = id_big_int;
};
template <>
struct default_type_traits<unsigned long long>
{
- static const database_type_id db_type_id = id_int64;
+ static const database_type_id db_type_id = id_big_int;
};
// Float types.