aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.