Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 5169 invoked from network); 31 Oct 2005 21:45:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Oct 2005 21:45:45 -0000 Received: (qmail 37693 invoked by uid 500); 31 Oct 2005 21:45:40 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 37579 invoked by uid 99); 31 Oct 2005 21:45:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 13:45:39 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 225915A8 for ; Mon, 31 Oct 2005 22:45:02 +0100 (CET) Message-ID: <766493000.1130795102138.JavaMail.jira@ajax.apache.org> Date: Mon, 31 Oct 2005 22:45:02 +0100 (CET) From: "Michelle Caisse (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Closed: (JDO-100) Insert request failed ... because it would have caused a duplicate key value Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JDO-100?page=all ] Michelle Caisse closed JDO-100: ------------------------------- > Insert request failed ... because it would have caused a duplicate key value > ---------------------------------------------------------------------------- > > Key: JDO-100 > URL: http://issues.apache.org/jira/browse/JDO-100 > Project: JDO > Type: Bug > Components: tck20 > Reporter: Michelle Caisse > > testSingleFieldIdentityInitializedDate and > testSingleFieldIdentityDate(org.apache.jdo.tck.api.persistencecapable.CopyKeyFieldsFromObjectId)javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO applicationidentity0.PCPOINTSINGLEFIELDDATE (Y,X,ID) VALUES (?,?,?) > at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:329) > at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:1750) > at org.jpox.store.StoreManager.insert(StoreManager.java:663) > at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3090) > at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3063) > at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1012) > at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1048) > at org.apache.jdo.tck.api.persistencecapable.AbstractPersistenceCapableTest.makePersistent(AbstractPersistenceCapableTest.java:41) > at org.apache.jdo.tck.api.persistencecapable.CopyKeyFieldsFromObjectId.singleFieldIdentity(CopyKeyFieldsFromObjectId.java:156) > at org.apache.jdo.tck.api.persistencecapable.CopyKeyFieldsFromObjectId.testSingleFieldIdentityDate(CopyKeyFieldsFromObjectId.java:143) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197) > at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128) > at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106) > NestedThrowablesStackTrace: > ERROR 23505: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'PCPNT_SFD_PK' defined on 'PCPOINTSINGLEFIELDDATE'. > at org.apache.derby.iapi.error.StandardException.newException(StandardException.java) > at org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(IndexChanger.java) > at org.apache.derby.impl.sql.execute.IndexChanger.doInsert(IndexChanger.java) > at org.apache.derby.impl.sql.execute.IndexChanger.insert(IndexChanger.java) > at org.apache.derby.impl.sql.execute.IndexSetChanger.insert(IndexSetChanger.java) > at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(RowChangerImpl.java) > at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(InsertResultSet.java) > at org.apache.derby.impl.sql.execute.InsertResultSet.open(InsertResultSet.java) > at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java) > at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(EmbedPreparedStatement.java) > at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:443) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira