From 5e98aad4b067ece803b75cae7f538565da8661c8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 27 Jun 2012 14:55:47 +0200 Subject: Add support for mapping posix_time::ptime and QDateTime to DATE Oracle type --- boost/oracle/date-time/test.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'boost/oracle/date-time/test.hxx') diff --git a/boost/oracle/date-time/test.hxx b/boost/oracle/date-time/test.hxx index 9699c5d..e7afe8f 100644 --- a/boost/oracle/date-time/test.hxx +++ b/boost/oracle/date-time/test.hxx @@ -26,6 +26,7 @@ struct object id == x.id && dates == x.dates && times == x.times && + times_d == x.times_d && durations == x.durations; } @@ -34,6 +35,8 @@ struct object std::vector dates; std::vector times; + #pragma db value_type("DATE") + std::vector times_d; std::vector durations; }; -- cgit v1.1