java.sql.SQLException

Invalid JDBC escape syntax at line position 29 '}' character expected. at net.sourceforge.jtds.jdbc.SQLParser.mustbe(SQLParser.java:238) at net.sourceforge.jtds.jdbc.SQLParser.escape(SQLParser.java:789) at net.sourceforge.jtds.jdbc.SQLParser.parse(SQLParser.java:891) at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:894) at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:825)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7755

  • Invalid JDBC escape syntax at line position 29 '}' character expected. at net.sourceforge.jtds.jdbc.SQLParser.mustbe(SQLParser.java:238) at net.sourceforge.jtds.jdbc.SQLParser.escape(SQLParser.java:789) at
  • Invalid JDBC escape syntax at line position 19 '}' character expected.
  • net.sourceforge.jtds.jdbc.MSCursorResultSet.<init>(MSCursorResultSet.java:154) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:464) at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:664) at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:1114)
  • Stack trace

    • java.sql.SQLException: Invalid JDBC escape syntax at line position 29 '}' character expected. at net.sourceforge.jtds.jdbc.SQLParser.mustbe(SQLParser.java:238) at net.sourceforge.jtds.jdbc.SQLParser.escape(SQLParser.java:789) at net.sourceforge.jtds.jdbc.SQLParser.parse(SQLParser.java:891) at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:894) at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:825) at de.ecosx.jdbctest.QueryThread.run(QueryThread.java:106)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.