
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?'?'?at?line?1
at?sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native?Method)
at?sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at?sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at?java.lang.reflect.Constructor.newInstance(Constructor.java:526)
2016-07-11
解決了 是這么解決的ResultSet rs=statement.executeQuery(sql.toString());改為ResultSet rs=statement.executeQuery();
2016-07-10
為什么我出現(xiàn)的是COMMAND = "??" 出現(xiàn)漢字 只能識別成?? 雙問號,字符集都設置為utf-8了
2016-07-09
值可以正確的傳進來
2016-07-01
2016-07-01
你的?號出錯,也就是傳值出錯。調(diào)試看看生成后的SQL語句是怎樣的。