SpringMVC:com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:You has an error in your SQL syntax;

Source: Internet
Author: User
Tags keyword list

Today with SPRINGMVC to do the modification add operation, the previous operation has implemented the addition of modifications, but always reported Com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:You has an error in your SQL syntax ...

Find a lot of information on the Internet, that is the database coding problem, SPRINGMVC set Characterencodingfilter filter, these solutions can not solve my problem

No, I pasted the SQL statement from hibernate into the navicat for SQL operations, and the same error was reported.

Accidentally found that I this table of the Limit field color is blue, suddenly, the original is with the database keyword, modify the limit field, the result is normal operation

So we should be careful to avoid and database keyword duplication, resulting in unnecessary problems!

mysql keyword list: http://www.cnblogs.com/jiangshan5xian/archive/2013/03/16/2963496.html

SpringMVC:com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:You has an error in your SQL syntax;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.