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

Hot problem!
This exception has a lot of traffic. You can help 12 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via jtds by niagarafaults
, 1 year ago
Invalid JDBC escape syntax at line position 19 '}' character expected.
via jtds by dijimon
, 1 year ago
Invalid JDBC escape synatax at line position 44 '}' character expected.
java.sql.SQLException: Invalid JDBC escape syntax at line position 19 '}' character expected.
at net.sourceforge.jtds.jdbc.SQLParser.mustbe(SQLParser.java:415)
at net.sourceforge.jtds.jdbc.SQLParser.escape(SQLParser.java:965)
at net.sourceforge.jtds.jdbc.SQLParser.parse(SQLParser.java:1063)
at net.sourceforge.jtds.jdbc.SQLParser.parse(SQLParser.java:156)
at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.(JtdsPreparedStatement.java:104)
at net.sourceforge.jtds.jdbc.JtdsCallableStatement.(JtdsCallableStatement.java:66)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareCall(ConnectionJDBC2.java:2155)
at net.sourceforge.jtds.test.CallableStatementJDBC3Test.testNamedParameters0001(CallableStatementJDBC3Test.java:52)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.