From: Warren Young Date: December 18 2008 9:15pm Subject: Re: about template query .. List-Archive: http://lists.mysql.com/plusplus/8286 Message-Id: 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 Dec 18, 2008, at 6:52 AM, soryu Jeong wrote: > int id = 0x12345 Try: mysqlpp::sql_int id = 0x12345 Using MySQL++ data types ensures there's always a known-correct way to do the data conversion between C++ and SQL.