com.impossibl.postgres.jdbc.PGSQLSimpleException: column "id" does not exist

GitHub | obraliar | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Problem with generated keys

    GitHub | 6 months ago | obraliar
    com.impossibl.postgres.jdbc.PGSQLSimpleException: column "id" does not exist

    Root Cause Analysis

    1. com.impossibl.postgres.jdbc.PGSQLSimpleException

      column "id" does not exist

      at com.impossibl.postgres.jdbc.ErrorUtils.makeSQLException()
    2. PGJDBC-NG
      PGPreparedStatement.executeUpdate
      1. com.impossibl.postgres.jdbc.ErrorUtils.makeSQLException(ErrorUtils.java:159)
      2. com.impossibl.postgres.jdbc.ErrorUtils.makeSQLException(ErrorUtils.java:136)
      3. com.impossibl.postgres.jdbc.PGConnectionImpl.execute(PGConnectionImpl.java:442)
      4. com.impossibl.postgres.jdbc.PGPreparedStatement$1.call(PGPreparedStatement.java:206)
      5. com.impossibl.postgres.jdbc.PGPreparedStatement$1.call(PGPreparedStatement.java:196)
      6. com.impossibl.postgres.jdbc.PGConnectionImpl.getCachedStatement(PGConnectionImpl.java:1301)
      7. com.impossibl.postgres.jdbc.PGPreparedStatement.parseIfNeeded(PGPreparedStatement.java:196)
      8. com.impossibl.postgres.jdbc.PGPreparedStatement.execute(PGPreparedStatement.java:262)
      9. com.impossibl.postgres.jdbc.PGPreparedStatement.executeUpdate(PGPreparedStatement.java:291)
      9 frames
    3. Unknown
      KeyGeneratorTest.insert
      1. KeyGeneratorTest.insert(KeyGeneratorTest.java:43)
      1 frame