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

jtds | niagarafaults | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Incorrect comments processing inside callable statement

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

    Problems with Callable Statement (MSSQL)

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

    CallableStatement Invalid JDBC escape synatax

    jtds | 1 decade ago | dijimon
    java.sql.SQLException: Invalid JDBC escape synatax at line position 44 '}' character expected.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TDS Protocol and Invalid state errors

    jtds | 1 decade ago | skothandram
    java.sql.SQLException: Invalid state, the Connection object is closed.

    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