Apache JDO Project - [jira] Commented: (JDO-430) JPOX fails new test

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > October 2006 > [jira] Commented: (JDO-430) JPOX fails new test





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] Commented: (JDO-430) JPOX fails new test
Michelle Caisse (JIRA)

2006-10-06, 1:11 pm

[ http://issues.apache.org/jira/brows...action_12440560 ]

Michelle Caisse commented on JDO-430:
-------------------------------------

"<element mapped-by=...>" and "<field mapped-by=...>" are equivalent ways of writing the same information. The user has a choice of where to put the attribute. Because this issue is peripheral to the test, and isn't terribly important anyway, I will ch
ange the test to use <field mapped-by>. If you want to pursue this question, you could bring it up with the Expert Group.

> JPOX fails new test CompletenessTestList, configuration companyListWithoutJoin
> ------------------------------------------------------------------------------
>
> Key: JDO-430
> URL: http://issues.apache.org/jira/browse/JDO-430
> Project: JDO
> Issue Type: Bug
> Components: tck20
> Affects Versions: JDO 2 final
> Reporter: Michelle Caisse
> Assigned To: Andy Jefferson
> Fix For: JDO 2 maintenance release 1
>
>
> Overriding previous definition of reference to this.jdori.classpath
> [echo] Starting configuration="companyListWithoutJoin.conf" with database="derby" identitytype="datastoreidentity" mapping="10".
> [java] RUN CompletenessTestList.test ERROR
> [java] Description: Completeness test with companyListWithoutJoin model.
> [java] Time: 005
> [java] There was 1 error:
> [java] 1) test(org.apache.jdo.tck.mapping.CompletenessTestList)javax.jdo.JDOUserException: One or more instances could not be made persistent
> [java] at org.jpox.AbstractPersistenceManager. makePersistentAll(AbstractPersistenceMan
ager.java:1332)
> [java] at org.apache.jdo.tck.mapping.CompletenessTestList.localSetUp(CompletenessTestList.java:78)
> [java] at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:236)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:252)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:107)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:147)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:122)
> [java] NestedThrowablesStackTrace:
> [java] javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO datastoreidentity10.PERSONS (MIDDLENAME,WAGE,FUNDINGDEPT,HIREDATE,PE
RSONID,FIRSTNAME,LASTNAME,MENTOR,DEPARTM
ENT,WEEKLYHOURS,BIRTHDATE,MANAGER,HRADVI
SOR,DISCRIMIN
> ATOR,HIREDATE) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
> [java] at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:406)
> [java] at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.java:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager. internalMakePersistent(AbstractPersisten
ceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager. makePersistentInternal(AbstractPersisten
ceManager.java:1267)
> [java] at org.jpox.store.rdbms.scostore.FKListStore.validateElementForWriting(FKListStore.java:1206)
> [java] at org.jpox.store.rdbms.scostore.FKListStore.internalAdd(FKListStore.java:759)
> [java] at org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:386)
> [java] at org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:225)
> [java] at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:415)
> [java] at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.java:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager. internalMakePersistent(AbstractPersisten
ceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager. makePersistentInternal(AbstractPersisten
ceManager.java:1267)
> [java] at org.jpox.store.rdbms.scostore.FKSetStore.add(FKSetStore.java:579)
> [java] at org.jpox.store.rdbms.scostore.FKSetStore.addAll(FKSetStore.java:628)
> [java] at org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:229)
> [java] at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:415)
> [java] at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.java:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager. internalMakePersistent(AbstractPersisten
ceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager. makePersistent(AbstractPersistenceManage
r.java:1281)
> [java] at org.jpox.AbstractPersistenceManager. makePersistentAll(AbstractPersistenceMan
ager.java:1322)
> [java] at org.apache.jdo.tck.mapping.CompletenessTestList.localSetUp(CompletenessTestList.java:78)
> [java] at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:236)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:252)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:107)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:147)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:122)
> [java] NestedThrowablesStackTrace:
> [java] ERROR 42X13: Column name 'HIREDATE' appears more than once times in the column list of an INSERT statement.
> [java] at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
> [java] at org.apache.derby.impl.sql.compile.ResultColumnList.bindResultColumnsByName(Unknown Source)
> [java] at org.apache.derby.impl.sql.compile.InsertNode.bind(Unknown Source)
> [java] at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown
> Source)
> [java] at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
> [java] at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
> [java] at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
> [java] at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.<init>(Unknown Source)
> [java] at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.<init>(Unknown Source)
> [java] at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Unknown Source)
> [java] at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
> [java] at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
> [java] at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:190)
> [java] at org.jpox.store.rdbms.RDBMSManager.getStatement(RDBMSManager.java:431)
> [java] at org.jpox.store.rdbms.RDBMSManager.getStatement(RDBMSManager.java:388)
> [java] at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:196)
> [java] at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.java:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager. internalMakePersistent(AbstractPersisten
ceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager. makePersistentInternal(AbstractPersisten
ceManager.java:1267)
> [java] at org.jpox.store.rdbms.scostore.FKListStore.validateElementForWriting(FKListStore.java:1206)
> [java] at org.jpox.store.rdbms.scostore.FKListStore.internalAdd(FKListStore.java:759)
> [java] at org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore.java:386)
> [java] at org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:225)
> [java] at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:415)
> [java] at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.java:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager. internalMakePersistent(AbstractPersisten
ceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager. makePersistentInternal(AbstractPersisten
ceManager.java:1267)
> [java] at org.jpox.store.rdbms.scostore.FKSetStore.add(FKSetStore.java:579)
> [java] at org.jpox.store.rdbms.scostore.FKSetStore.addAll(FKSetStore.java:628)
> [java] at org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.java:229)
> [java] at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:415)
> [java] at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.java:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager. internalMakePersistent(AbstractPersisten
ceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager. makePersistent(AbstractPersistenceManage
r.java:1281)
> [java] at org.jpox.AbstractPersistenceManager.makePersistentAll(Abstrac
> tPersistenceManager.java:1322)
> [java] at org.apache.jdo.tck.mapping.CompletenessTestList.localSetUp(CompletenessTestList.java:78)
> [java] at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:236)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:252)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:107)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:147)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.
> java:122)


--
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