Skip to content
Advertisement

Exception : org.postgresql.util.PSQLException: ERROR: syntax error at or near “call”

I am working on a application in which hibernate and postgresql and giving the following error

org.postgresql.util.PSQLException: ERROR: syntax error at or near “call”

Can someone tell me where I am going wrong. I am using Postgres 9.4.

JavaScript

EmployeeController

JavaScript

Employee.java Class

JavaScript

Advertisement

Answer

I was using a wrong dailect earlier by using the dailect org.hibernate.dialect.PostgreSQLDialect with postgres 9.4 the application is running properly

thanks

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement