java.sql.SQLException: Invalid JDBC escape syntax at line position 19 '}' character expected.

jtds | niagarafaults | 6 years ago
  1. 0

    Incorrect comments processing inside callable statement

    jtds | 6 years ago | niagarafaults
    java.sql.SQLException: Invalid JDBC escape syntax at line position 19 '}' character expected.
  2. 0

    CallableStatement Invalid JDBC escape synatax

    jtds | 1 decade ago | dijimon
    java.sql.SQLException: Invalid JDBC escape synatax at line position 44 '}' character expected.
  3. 0

    TDS Protocol and Invalid state errors

    jtds | 1 decade ago | skothandram
    java.sql.SQLException: Invalid state, the Connection object is closed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems with Callable Statement (MSSQL)

    jtds | 1 decade ago | blackscholes
    java.sql.SQLException: Invalid JDBC call escape at line position 6.
  6. 0

    {fn } escape can't handle nested functions

    jtds | 1 decade ago | peterschaefer
    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)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      Invalid JDBC escape syntax at line position 19 '}' character expected.

      at net.sourceforge.jtds.jdbc.SQLParser.mustbe()
    2. jTDS
      ConnectionJDBC2.prepareCall
      1. net.sourceforge.jtds.jdbc.SQLParser.mustbe(SQLParser.java:415)
      2. net.sourceforge.jtds.jdbc.SQLParser.escape(SQLParser.java:965)
      3. net.sourceforge.jtds.jdbc.SQLParser.parse(SQLParser.java:1063)
      4. net.sourceforge.jtds.jdbc.SQLParser.parse(SQLParser.java:156)
      5. net.sourceforge.jtds.jdbc.JtdsPreparedStatement.<init>(JtdsPreparedStatement.java:104)
      6. net.sourceforge.jtds.jdbc.JtdsCallableStatement.<init>(JtdsCallableStatement.java:66)
      7. net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareCall(ConnectionJDBC2.java:2155)
      8. net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareCall(ConnectionJDBC2.java:2141)
      8 frames
    3. net.sourceforge.jtds
      CallableStatementJDBC3Test.testNamedParameters0001
      1. net.sourceforge.jtds.test.CallableStatementJDBC3Test.testNamedParameters0001(CallableStatementJDBC3Test.java:52)
      1 frame