【Java】You have an error in your SQL syntax ...

詳情以下:html

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 'and              limit 0, 20' at line 1
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

實際上是 SQL 語法錯誤……java

參考:
http://jingyan.baidu.com/article/8275fc86b7576446a03cf624.htmlide

相關文章
相關標籤/搜索