From 9f65908d7de63c151ff988105232cbf3c331a80d Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Wed, 26 Oct 2011 10:14:32 +0200 Subject: Use CLOB instead of TEXT for Oracle query test --- common/query/test.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/query/test.hxx b/common/query/test.hxx index 21acb84..74f5f73 100644 --- a/common/query/test.hxx +++ b/common/query/test.hxx @@ -11,6 +11,7 @@ #include #include +#include // DATABASE_XXX #pragma db object struct person @@ -37,8 +38,11 @@ struct person #pragma db column ("first") std::string first_name_; - +#ifndef DATABASE_ORACLE #pragma db column ("middle") type ("TEXT") null +#else + #pragma db column ("middle") type ("CLOB") null +#endif std::auto_ptr middle_name_; #pragma db column ("last") -- cgit v1.1