From: Warren Young Date: March 6 2009 3:43pm Subject: Re: How to pass SQLTypeAdapters to create a SQLQueryParms? List-Archive: http://lists.mysql.com/plusplus/8444 Message-Id: <24D43C61-A504-4938-B70C-C8409DF9B988@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Mar 6, 2009, at 5:03 AM, Jim Wallace wrote: > SimpleResult res1 = query.execute("Alex Luya",NOW(),"synchronizing"); The second parameter should either be "NOW()" (it's a SQL function, not C++) or a default-initted DateTime object, as that evaluates to "NOW()" when inserted into a SQL query. Alex, the method you were trying to call isn't really meant for end- user access. It's part of the internal call chain for handling the sort of code Jim wrote. It's the last step in that call chain before the query becomes a plain query string. I suppose we might make it protected in v4...