java.sql.SQLIntegrityConstraintViolationException

ORA-00001: unique constraint (DEV_OAM.PK_ENTITIES) violated

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web456

  • ORA-00001: unique constraint (DEV_OAM.PK_ENTITIES) violated
  • ORA-00001: unique constraint (VM_STAGING.DCS_CAT_CHLDCAT_P) violated
  • via Google Groups by crimson, 1 week ago
    ORA-00001: unique constraint (OWNER.SYS_C0012698) violated
  • Stack trace

    • java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OAM.PK_ENTITIES) violated at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405) at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512) at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:831) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:906) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:592) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:535) at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1717) at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:253) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:207) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:342) at org.eclipse.persistence.internal.queries.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:162) at org.eclipse.persistence.internal.queries.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:177) at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:472) at org.eclipse.persistence.queries.InsertObjectQuery.executeCommit(InsertObjectQuery.java:80) at org.eclipse.persistence.queries.InsertObjectQuery.executeCommitWithChangeSet(InsertObjectQuery.java:90) at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:287) at org.eclipse.persistence.queries.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:58) at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:844) at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:743) at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:108) at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:85) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2871) at oracle.security.am.db.common.PerformanceProfiler.profileExecutionOfQuery(PerformanceProfiler.java:57) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1514) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1498) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1449) at org.eclipse.persistence.internal.sessions.CommitManager.commitChangedObjectsForClassWithChangeSet(CommitManager.java:265) at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:190) at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:136) at org.eclipse.persistence.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:3799) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1415) at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.commitToDatabase(RepeatableWriteUnitOfWork.java:636) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithPreBuiltChangeSet(UnitOfWorkImpl.java:1561) at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.writeChanges(RepeatableWriteUnitOfWork.java:447) at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(EntityManagerImpl.java:780) at oracle.security.am.db.jpa.JPABaseDAO$InsertObjectAction.internalPerformAction(JPABaseDAO.java:387) at oracle.security.am.db.jpa.JPABaseDAO$DBAction.performAction(JPABaseDAO.java:99) at oracle.security.am.db.jpa.JPADBManager.insert(JPADBManager.java:110) at oracle.security.am.db.dataaccess.entity.impl.EntityDataAccessImpl.createEntities(EntityDataAccessImpl.java:104) at oracle.security.am.foundation.entity.admin.provider.db.EntityStoreImpl.createEntity(EntityStoreImpl.java:106) at oracle.security.am.foundation.entity.admin.impl.EntityManagerImpl.createEntity(EntityManagerImpl.java:168) at oracle.security.am.admin.config.util.store.EntityStore.storeAsEntity(EntityStore.java:661) at oracle.security.am.admin.config.util.store.EntityStore.doStore(EntityStore.java:442) at oracle.security.am.admin.config.util.store.EntityStore.store(EntityStore.java:299) at oracle.security.am.admin.config.util.store.StoreUtil.reconcile(StoreUtil.java:289) at oracle.security.am.admin.config.util.store.StoreUtil.loadConfiguration(StoreUtil.java:259) at org.eclipse.higgins.configuration.xml.ConfigurationHandler.configure(ConfigurationHandler.java:417) at oracle.security.am.admin.config.BasicFileConfigurationStore.callConfigure(BasicFileConfigurationStore.java:839) at oracle.security.am.admin.config.BasicFileConfigurationStore.loadConfiguration(BasicFileConfigurationStore.java:783) at oracle.security.am.admin.config.BasicFileConfigurationStore.getConfigurationHandler(BasicFileConfigurationStore.java:755) at oracle.security.am.admin.config.BasicFileConfigurationStore.getConfiguration(BasicFileConfigurationStore.java:189) at oracle.security.am.admin.config.BasicFileConfigurationStore.getConfiguration(BasicFileConfigurationStore.java:183) at oracle.security.am.foundation.mapimpl.coherence.CoherenceMapImpl$ConfigListener.getStatNumber(CoherenceMapImpl.java:1247) at oracle.security.am.foundation.mapimpl.coherence.CoherenceMapImpl$ConfigListener.configurationChanged(CoherenceMapImpl.java:1259) at oracle.security.am.admin.config.BasicFileConfigurationStore$ListenerDispatcher.run(BasicFileConfigurationStore.java:1110)

    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
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 1 month ago
    26 more bugmates