org.jooq.exception.DataAccessException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Postgresql unit test are failing
    via GitHub by sureshg
    ,
    • org.jooq.exception.DataAccessException: SQL [insert into secrets (name, createdat, updatedat, description, createdby, updatedby, type, options) values (?, cast(? as timestamp), cast(? as timestamp), ?, ?, ?, ?, ?) returning secrets.id]; duplicate key value violates unique constraint "secrets_pkey" at com.impossibl.postgres.jdbc.ErrorUtils.makeSQLException(ErrorUtils.java:154) at com.impossibl.postgres.jdbc.ErrorUtils.makeSQLException(ErrorUtils.java:136) at com.impossibl.postgres.jdbc.PGConnectionImpl.execute(PGConnectionImpl.java:438) at com.impossibl.postgres.jdbc.PGStatement.executeStatement(PGStatement.java:375) at com.impossibl.postgres.jdbc.PGPreparedStatement.execute(PGPreparedStatement.java:261) at com.impossibl.postgres.jdbc.PGPreparedStatement.executeQuery(PGPreparedStatement.java:277) at com.impossibl.postgres.jdbc.PGPreparedStatement.executeQuery(PGPreparedStatement.java:92)
    No Bugmate found.