java.sql.SQLException: Syntax error or access violation message from server: “Yo
u have an error in your SQL syntax. Check the manual that corresponds to your M
ySQL server version for the right syntax to use near ‘null’ at line 1”
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2234)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1412)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1494)
at com.mysql.jdbc.Connection.execSQL(Connection.java:1905)
at com.mysql.jdbc.Connection.execSQL(Connection.java:1847)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1182)
at Dinamico.getJContentPane(Dinamico.java:330)
at Dinamico.initialize(Dinamico.java:305)
at Dinamico.<init>(Dinamico.java:85)
at Dinamico.main(Dinamico.java:292)
java.sql.SQLException: Syntax error or access violation message from server: “Yo
u have an error in your SQL syntax. Check the manual that corresponds to your M
ySQL server version for the right syntax to use near ‘null’ at line 1”
Esse é o erro que tá aparecendo, alguem sabe como que eu posso solucionar isso.
Obrigado