Could not save object

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web32

  • via Unknown by Sandy McArthur,
  • via Unknown by Sandy McArthur,
  • Stack trace

    • net.sf.hibernate.JDBCException: Could not save object at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier( at at net.sf.hibernate.impl.SessionImpl.saveOrUpdate( at test.Something.main( Caused by: org.postgresql.util.PSQLException: ERROR: relation "items_id_sequence" does not exist at org.postgresql.util.PSQLException.parseServerError( at org.postgresql.core.QueryExecutor.executeV3( at org.postgresql.core.QueryExecutor.execute( at org.postgresql.core.QueryExecutor.execute( at org.postgresql.jdbc1.AbstractJdbc1Statement.execute( at org.postgresql.jdbc2.AbstractJdbc2Statement.execute( at org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery( at at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier( ... 3 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.