----- Original Message ----- > From: "ZhangFangXue" <zhangfang...@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. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql