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@tuxera.be] ????: 2013?2?19? 16:36 ???: ZhangFangXue ??: mysql@lists.mysql.com ??: Re: ??: PreparedStatement problem
----- Original Message ----- > From: "ZhangFangXue" <zhangfangxue@sogou-inc.com> > > 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.
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!