List:General Discussion« Previous MessageNext Message »
From:ZhangFangXue Date:February 19 2013 10:35am
Subject:答复: 答复: PreparedStatement problem
View as plain text  
yes, it is CityName, but it is not the point, setInt works abnormally..

By the way, I found there is not a thorough introduction to the mysql c++ connector, can you give me some hint?

发件人: Johan De Meersman [mailto:vegivamp@stripped]
发送时间: 2013年2月19日 16:36
收件人: ZhangFangXue
抄送: mysql@stripped
主题: Re: 答复: PreparedStatement problem

----- Original Message -----
> From: "ZhangFangXue" <zhangfangxue@stripped>
> well, the problem is that I used it like this:
> prep_stmt = con -> prepareStatement ("INSERT INTO City (CityNumber)

The statement in your original mail used CityName, which sounds like it should be a string. Fieldname confusion?

Unhappiness is discouraged and will be corrected with kitten pictures.
PreparedStatement problemZhangFangXue19 Feb
  • Re: PreparedStatement problemJohan De Meersman19 Feb
    • 答复: PreparedStatement problemZhangFangXue19 Feb
      • Re: 答复: PreparedStatement problemJohan De Meersman19 Feb
        • 答复: 答复: PreparedStatement problemZhangFangXue19 Feb