org.firebirdsql.gds.GDSException

violation of PRIMARY or UNIQUE KEY constraint "PK_PERSON" on table "PERSON

Solutions on the web5

  • via Oracle Community by 3004, 1 year ago
    violation of PRIMARY or UNIQUE KEY constraint "PK_PERSON" on table "PERSON
  • Operation violates CHECK constraint INTEG_30 on view or table EMPLOYEE At trigger 'CHECK_4'
  • Dynamic SQL Error SQL error code = -204 Table unknown SYM_PARAMETER At line 1, column 50
  • Stack trace

    • org.firebirdsql.gds.GDSException: violation of PRIMARY or UNIQUE KEY constraint "PK_PERSON" on table "PERSON at org.firebirdsql.jgds.GDS_Impl.readStatusVector(GDS_Impl.java:1683) at org.firebirdsql.jgds.GDS_Impl.receiveResponse(GDS_Impl.java:1636) at org.firebirdsql.jgds.GDS_Impl.isc_dsql_execute2(GDS_Impl.java:865) at org.firebirdsql.jca.FBManagedConnection.executeStatement(FBManagedConnection.java:782) at org.firebirdsql.jdbc.FBConnection.executeStatement(FBConnection.java:1072) at org.firebirdsql.jdbc.FBPreparedStatement.internalExecute(FBPreparedStatement.java:420) at org.firebirdsql.jdbc.FBPreparedStatement.executeUpdate(FBPreparedStatement.java:136) at com.solarmetric.datasource.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:111) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatementNonBatch(SQLExecutionManagerImpl.java:542) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatement(SQLExecutionManagerImpl.java:511) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeInternal(SQLExecutionManagerImpl.java:405) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.flush(SQLExecutionManagerImpl.java:272) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:411) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:575) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:438) at reversetutorial.Finder.createData(Finder.java:74) at reversetutorial.Finder.main(Finder.java:141)

    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

    Unknown user
    Once, 1 year ago