Ronnie Chowdhury <ronnie.c995 at gmail.com> writes:
> #pragma db type ("INTEGER")
> std::vector<boost::posix_time::ptime> ts; // Fails
How do you expect a vector to be mapped into an integer in the database?
Perhaps what you mean is this:
#pragma db value_type ("INTEGER")
std::vector<boost::posix_time::ptime> ts;
Boris