Apache JDO Project - [jira] Closed: (JDO-86) Foreign key constraint violation with TestArrayListCollections

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > October 2005 > [jira] Closed: (JDO-86) Foreign key constraint violation with TestArrayListCollections





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Closed: (JDO-86) Foreign key constraint violation with TestArrayListCollections
Michelle Caisse (JIRA)

2005-10-31, 5:45 pm

[ http://issues.apache.org/jira/browse/JDO-86?page=all ]

Michelle Caisse closed JDO-86:
------------------------------


> Foreign key constraint violation with TestArrayListCollections
> --------------------------------------------------------------
>
> Key: JDO-86
> URL: http://issues.apache.org/jira/browse/JDO-86
> Project: JDO
> Type: Bug
> Components: tck20
> Reporter: Michelle Caisse
> Assignee: Erik Bengtson


>
> test(org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections)javax.jdo.JDODataStoreException: Add request failed : INSERT INTO applicationidentity0.ARRAYLIST_OF_BIG_DECIMAL18 (IDENTIFIER,BIG_DECIMALVAL,"INDEX") VALUES (?,?,?)
> at org.jpox.store.rdbms.scostore.AbstractListStore.internalAdd(AbstractListStore.java:1620)
> at org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:330)
> at org.jpox.store.mapping.ListMapping.postUpdate(ListMapping.java:227)
> at org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:266)
> at org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:1795)
> at org.jpox.store.StoreManager.update(StoreManager.java:710)
> at org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:3965)
> at org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.java:2841)
> at org.jpox.NonmanagedTransaction.commit(NonmanagedTransaction.java:431)
> at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.runTest(TestArrayListCollections.java:105)
> at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.test(TestArrayListCollections.java:69)
> 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:203)
> at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
> at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
> NestedThrowablesStackTrace:
> ERROR 23503: INSERT on table 'ARRAYLIST_OF_BIG_DECIMAL18' caused a violation of foreign key constraint 'SQL050713004755030' for key (1). The statement has been rolled back.
> at org.apache.derby.iapi.error.StandardException.newException(StandardException.java)
> at org.apache.derby.impl.sql.execute.ForeignKeyRIChecker.doCheck(ForeignKeyRIChecker.java)
> at org.apache.derby.impl.sql.execute.GenericRIChecker.doCheck(GenericRIChecker.java)
> at org.apache.derby.impl.sql.execute.RISetChecker.doFKCheck(RISetChecker.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)
> at org.jpox.store.rdbms.scostore.BaseContainerStore.executeUpdate(BaseContainerStore.java:97)
> at org.jpox.store.rdbms.scostore.AbstractListStore.internalAdd(AbstractListStore.java:1605)
> at org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:330)
> at org.jpox.store.mapping.ListMapping.postUpdate(ListMapping.java:227)
> at org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:266)
> at org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:1795)
> at org.jpox.store.StoreManager.update(StoreManager.java:710)
> at org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:3965)
> at org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.java:2841)
> at org.jpox.NonmanagedTransaction.commit(NonmanagedTransaction.java:431)
> at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.runTest(TestArrayListCollections.java:105)
> at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.test(TestArrayListCollections.java:69)
> 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:203)
> at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
> at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com