您的位置:首页 > 数据库 > MySQL

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax解决办法

2013-04-17 16:37 543 查看
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'position(latitude,longitude,time,userId) values('ss','dd','2012-04-05',23)'
at line 1

找了老长时间错误的原因,最后是发现position和(之间要有空格的!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐