db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bouschen (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JDO-86) Foreign key constraint violation with TestArrayListCollections
Date Sat, 22 Apr 2006 19:40:18 GMT
     [ http://issues.apache.org/jira/browse/JDO-86?page=all ]
     
Michael Bouschen closed JDO-86:
-------------------------------

    Fix Version: JDO 2 beta
     Resolution: Fixed

> 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
>      Fix For: JDO 2 beta

>
> 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/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message