org.postgresql.util.PSQLException: ERROR: relation "items_id_sequence" 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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Hibernate JIRA by Sandy McArthur, 1 year ago
ERROR: relation "items_id_sequence" does not exist
via Hibernate JIRA by Sandy McArthur, 1 year ago
ERROR: relation "items_id_sequence" does not exist
via Google Groups by Simon Doran, 3 months ago
ERROR: operator does not exist: character varying = integer
via opennms.org by Unknown author, 2 years ago
ERROR: missing FROM-clause entry for table "node"
via Google Groups by TimOK, 1 year ago
ERROR: relation "bold_ids" does not exist
via Google Groups by Jeffrey Trimble, 1 month ago
ERROR: duplicate key violates unique constraint "epersongroup_name_key"
org.postgresql.util.PSQLException: ERROR: relation "items_id_sequence" does not exist
at org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
at org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1Statement.java:231)
at net.sf.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:69)
at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:765)
at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:738)
at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1388)
at test.Something.main(Something.java:24)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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