java.sql.SQLSyntaxErrorException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Re: Order by in query
    via by Amit Kumar,
  • Re: Order by in query
    via by Amit Kumar,
  • Re: Order by in query
    via by Amit Kumar,
  • Re: Order by in query
    via by Amit Kumar,
    • java.sql.SQLSyntaxErrorException: 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 'where (1 = 0)' at line 1 Query is: sql : 'select * from sqooptest order by emails where (1 = 0) ' at > org.mariadb.jdbc.internal.SQLExceptionMapper.get(SQLExceptionMapper.java:138) at > org.mariadb.jdbc.internal.SQLExceptionMapper.throwException(SQLExceptionMapper.java:106) at > org.mariadb.jdbc.MySQLStatement.executeQueryEpilog(MySQLStatement.java:252) at org.mariadb.jdbc.MySQLStatement.execute(MySQLStatement.java:278) at org.mariadb.jdbc.MySQLStatement.executeQuery(MySQLStatement.java:333)
    No Bugmate found.