From: Simon W. <si...@gi...> - 2012-04-26 02:01:17
|
Hi all, I'm making a two successive queries to a DB. The second one does not return any results unless I create a new connection. I also cannot reuse a statement object. If this is by design and the way the library works, that's fine. I just want make sure I'm not using it wrong. I can use the same odbc::DriverManager that I used with the first query but not odbc::Connection or odbc::PreparedStatement. Cheers, Simon PS One comment about the documentation, which is overall excellent: odbc::Date::getTime indicates that only the time part of the date is returned as time_t, when actually the entire date is returned as time_t. "/Returns the time_t value of |00:00:00| at this date."/ Perhaps: "Returns the time_t value of this date." would be clearer. http://libodbcxx.sourceforge.net/libodbc++/progref/classodbc_1_1_date.html#a8 -- simonsmicrophone.com |