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

  1. ,
    via stackoverflow.com by Unknown author

    Upgrade the database driver to the latest and check.

    <dependency>
        <groupId>org.postgresql</groupId>
        <artifactId>postgresql</artifactId>
        <version>9.3-1101-jdbc41</version>
    </dependency>
    

    Replace version with the latest driver version.

  2. ,
    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>

org.postgresql.util.PSQLException: ERROR: syntax error at or near "call"
  Position: 1	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2310)	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2023)	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:217)	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:421)	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:166)	at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:118)	at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:70)	at org.hibernate.id.enhanced.SequenceStructure$1.getNextValue(SequenceStructure.java:96)	at org.hibernate.id.enhanced.NoopOptimizer.generate(NoopOptimizer.java:40)	at org.hibernate.id.enhanced.SequenceStyleGenerator.generate(SequenceStyleGenerator.java:412)	at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:105)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:192)	at org.hibernate.event.internal.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:38)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:177)	at org.hibernate.event.internal.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:32)	at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:73)	at org.hibernate.internal.SessionImpl.fireSave(SessionImpl.java:673)	at org.hibernate.internal.SessionImpl.save(SessionImpl.java:665)	at org.hibernate.internal.SessionImpl.save(SessionImpl.java:660)	at careers.nebula.ben.db.repository.signup.UserRepo.InsertUserData(UserRepo.java:23)	at careers.nebula.ben.service.signup.UserInformation.InsertPrimaryUserInfo(UserInformation.java:39)	at careers.nebula.ben.iws.signup.UserInformationIWS.userInformationPojo(UserInformationIWS.java:35)	at careers.nebula.ben.testing.UserTesting.main(UserTesting.java:38)