答复: 答复: PreparedStatement problem

2013-02-19 Thread ZhangFangXue
: mysql@lists.mysql.com 主题: Re: 答复: PreparedStatement problem - Original Message - > From: "ZhangFangXue" > > well, the problem is that I used it like this: > prep_stmt = con -> prepareStatement ("INSERT INTO City (CityNumber) The statement in your original ma

答复: PreparedStatement problem

2013-02-19 Thread ZhangFangXue
ra.be] 发送时间: 2013年2月19日 16:12 收件人: ZhangFangXue 抄送: mysql@lists.mysql.com 主题: Re: PreparedStatement problem - Original Message - > From: "ZhangFangXue" > > Hi, when I use PreparedStatement in c++ connector, I find some > unexcepted error, Well, first of all, you

Re: PreparedStatement problem

2013-02-19 Thread Johan De Meersman
- Original Message - > From: "ZhangFangXue" > > Hi, when I use PreparedStatement in c++ connector, I find some > unexcepted error, Well, first of all, you don't actually say what the error is that you're seeing. This tends to be on the rather helpful side when trying to diagnose it. >

Re: 答复: PreparedStatement problem

2013-02-19 Thread Johan De Meersman
- Original Message - > From: "ZhangFangXue" > > 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? -- Unh