org.postgresql.util.PSQLException: ERROR: relation "system_sequences" does not exist

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 hivmr.com by Unknown author, 1 year ago
via manageengine.com by Unknown author, 1 year ago
ERROR: syntax error at or near "'SENT_COUNT'"   Position: 906
via Google Groups by Gagneet Singh, 10 months ago
ERROR: relation "netezza_tbl" does not exist Position: 36
via Google Groups by YourSoft, 3 months ago
ERROR: function with OID 63315074 does not exist
via Google Groups by Mike Starov, 2 years ago
ERROR: function function1(bigint) does not exist Hint: No function matches the given name and argument types. You might need to add explicit type casts. Position: 15
via GitHub by gfodor
, 1 year ago
ERROR: cached plan must not change result type
org.postgresql.util.PSQLException: ERROR: relation "system_sequences" does not exist
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1499)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1284)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:175)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:429)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:334)
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:113)
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.init(DatabaseMetadata.java:39)
at org.hibernate.impl.SessionFactoryImpl.init(SessionFactoryImpl.java:297)
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:439)
at org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(Ejb3Deployment.java:476)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:219)

Users with the same issue

Once, 1 year ago
32 times, 4 weeks ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 year ago

Write tip

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