首页 > 代码库 > 报错:MySQL check the manual that corresponds to your MySQL server version for the right syntax

报错:MySQL check the manual that corresponds to your MySQL server version for the right syntax

今天在向MySQL中插入数据时,报了标题的错误,因为我用的是session.save(object)方法,后台打印出的object和sql语句都没有问题,后来在网上查询,发现http://blog.csdn.net/vanezuo/article/details/6686089中有讲到这个问题,而我的表的字段中有inout,state,lost,然后我就改了字段名,果然可以了,但我现在还是不知道具体哪一个字段冲突了

报错:MySQL check the manual that corresponds to your MySQL server version for the right syntax