org.postgresql.util.PSQLException: ERROR: syntax error near ',' java

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

Samebug tips

,
Expert tip

Try downgrading PostgresSQL server to 9.5 or update your PostgresSQL driver to 9.4-1211 with the following command: <postgresql.version>9.4.1211</postgresql.version>

Solutions on the web

via Google Groups by Justin Waddell, 5 months ago
via GitHub by seratch
, 2 years ago
ERROR: syntax error at or near "RETURNING" Position: 96
via Google Groups by Albert Laszlo-Robert, 5 months ago
ERROR: unterminated dollar-quoted string at or near "$BODY$ DECLARE vID INTEGER"
via Google Groups by ahnf, 5 months ago
ERROR: transaction is read-only
via Google Groups by ahnf, 5 months ago
ERROR: transaction is read-only
org.postgresql.util.PSQLException: ERROR: syntax error near ',' java
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)

Users with the same issue

37 times, 1 week ago
3 times, 1 month ago
Once, 2 months ago
Once, 2 months ago
32 times, 2 months ago

Write tip

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