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

GitHub | obraliar | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem with generated keys

    GitHub | 7 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