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 by Unknown author, 1 year ago
via 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(
at org.postgresql.core.v3.QueryExecutorImpl.processResults(
at org.postgresql.core.v3.QueryExecutorImpl.execute(
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.init(
at org.hibernate.impl.SessionFactoryImpl.init(
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(
at org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(
at org.jboss.ejb3.Ejb3Deployment.create(

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.