aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/traits.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/oracle/traits.hxx')
-rw-r--r--odb/oracle/traits.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/oracle/traits.hxx b/odb/oracle/traits.hxx
index 7fb8bd02..bcad915 100644
--- a/odb/oracle/traits.hxx
+++ b/odb/oracle/traits.hxx
@@ -103,12 +103,14 @@ namespace odb
template <>
struct int32_image_traits<false>
{
+ static const bind::buffer_type buffer_type = bind::integer;
typedef int image_type;
};
template <>
struct int32_image_traits<true>
{
+ static const bind::buffer_type buffer_type = bind::uinteger;
typedef unsigned int image_type;
};
@@ -125,12 +127,14 @@ namespace odb
template <>
struct int64_image_traits<false>
{
+ static const bind::buffer_type buffer_type = bind::integer;
typedef long long image_type;
};
template <>
struct int64_image_traits<true>
{
+ static const bind::buffer_type buffer_type = bind::uinteger;
typedef unsigned long long image_type;
};