09-22-06 06:11 AM
[
> JPOX fails new test CompletenessTestList, configuration companyListWithout
Join
> --------------------------------------------------------------------------
----
>
> Key: JDO-430
> URL: [url]http://issues.apache.org/jira/browse/JDO-430" target="_blank">http://issues.apache.org/jira/brows.../browse/JDO-430
> Project: JDO
> Issue Type: Bug
> Components: tck20
> Affects Versions: JDO 2 final
> Reporter: Michelle Caisse
> Assigned To: Michelle Caisse
>
> Overriding previous definition of reference to this.jdori.classpath
> [echo] Starting configuration="companyListWithoutJoin.conf" with d
atabase="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)jav
ax.jdo.JDOUserException: One or more instances could not be made persistent
> [java] at org.jpox.AbstractPersistenceManager.makePersistentA
ll(AbstractPersistenceManager.java:1332)
> [java] at org.apache.jdo.tck.mapping.CompletenessTestList.loc
alSetUp(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:2
52)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(Batch
TestRunner.java:107)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(Batch
TestRunner.java:147)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchT
estRunner.java:122)
> [java] NestedThrowablesStackTrace:
> [java] javax.jdo.JDODataStoreException: Insert request failed: INS
ERT INTO datastoreidentity10.PERSONS (MIDDLENAME,WAGE,FUNDINGDEPT,HIREDATE,P
ERSONID,FIRSTNAME,LASTNAME,MENTOR,DEPART
MENT,WEEKLYHOURS,BIRTHDATE,MANAGER,H
RADVISOR,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(ClassT
able.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.jav
a:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersist
ent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(Stat
eManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager.internalMakePer
sistent(AbstractPersistenceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager.makePersistentI
nternal(AbstractPersistenceManager.java:1267)
> [java] at org.jpox.store.rdbms.scostore.FKListStore.validateE
lementForWriting(FKListStore.java:1206)
> [java] at org.jpox.store.rdbms.scostore.FKListStore.internalA
dd(FKListStore.java:759)
> [java] at org.jpox.store.rdbms.scostore.AbstractListStore.add
All(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(ClassT
able.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.jav
a:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersist
ent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(Stat
eManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager.internalMakePer
sistent(AbstractPersistenceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager.makePersistentI
nternal(AbstractPersistenceManager.java:1267)
> [java] at org.jpox.store.rdbms.scostore.FKSetStore.add(FKSetS
tore.java:579)
> [java] at org.jpox.store.rdbms.scostore.FKSetStore.addAll(FKS
etStore.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(ClassT
able.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.jav
a:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersist
ent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(Stat
eManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager.internalMakePer
sistent(AbstractPersistenceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager.makePersistent(
AbstractPersistenceManager.java:1281)
> [java] at org.jpox.AbstractPersistenceManager.makePersistentA
ll(AbstractPersistenceManager.java:1322)
> [java] at org.apache.jdo.tck.mapping.CompletenessTestList.loc
alSetUp(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:2
52)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(Batch
TestRunner.java:107)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(Batch
TestRunner.java:147)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchT
estRunner.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.newEx
ception(Unknown Source)
> [java] at org.apache.derby.impl.sql.compile.ResultColumnList.
bindResultColumnsByName(Unknown Source)
> [java] at org.apache.derby.impl.sql.compile.InsertNode.bind(U
nknown Source)
> [java] at org.apache.derby.impl.sql.GenericStatement.prepMini
on(Unknown
> Source)
> [java] at org.apache.derby.impl.sql.GenericStatement.prepare(
Unknown Source)
> [java] at org.apache.derby.impl.sql.conn.GenericLanguageConne
ctionContext.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.newEmbedPreparedStat
ement(Unknown Source)
> [java] at org.apache.derby.impl.jdbc.EmbedConnection.prepareS
tatement(Unknown Source)
> [java] at org.apache.derby.impl.jdbc.EmbedConnection.prepareS
tatement(Unknown Source)
> [java] at com.mchange.v2.c3p0.impl.NewProxyConnection.prepare
Statement(NewProxyConnection.java:190)
> [java] at org.jpox.store.rdbms.RDBMSManager.getStatement(RDBM
SManager.java:431)
> [java] at org.jpox.store.rdbms.RDBMSManager.getStatement(RDBM
SManager.java:388)
> [java] at org.jpox.store.rdbms.request.InsertRequest.execute(
InsertRequest.java:196)
> [java] at org.jpox.store.rdbms.table.ClassTable.insert(ClassT
able.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.jav
a:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersist
ent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(Stat
eManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager.internalMakePer
sistent(AbstractPersistenceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager.makePersistentI
nternal(AbstractPersistenceManager.java:1267)
> [java] at org.jpox.store.rdbms.scostore.FKListStore.validateE
lementForWriting(FKListStore.java:1206)
> [java] at org.jpox.store.rdbms.scostore.FKListStore.internalA
dd(FKListStore.java:759)
> [java] at org.jpox.store.rdbms.scostore.AbstractListStore.add
All(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(ClassT
able.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.jav
a:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersist
ent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(Stat
eManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager.internalMakePer
sistent(AbstractPersistenceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager.makePersistentI
nternal(AbstractPersistenceManager.java:1267)
> [java] at org.jpox.store.rdbms.scostore.FKSetStore.add(FKSetS
tore.java:579)
> [java] at org.jpox.store.rdbms.scostore.FKSetStore.addAll(FKS
etStore.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(ClassT
able.java:2459)
> [java] at org.jpox.store.StoreManager.insert(StoreManager.jav
a:902)
> [java] at org.jpox.state.StateManagerImpl.internalMakePersist
ent(StateManagerImpl.java:3552)
> [java] at org.jpox.state.StateManagerImpl.makePersistent(Stat
eManagerImpl.java:3531)
> [java] at org.jpox.AbstractPersistenceManager.internalMakePer
sistent(AbstractPersistenceManager.java:1222)
> [java] at org.jpox.AbstractPersistenceManager.makePersistent(
AbstractPersistenceManager.java:1281)
> [java] at org.jpox.AbstractPersistenceManager.makePersistentA
ll(Abstrac
> tPersistenceManager.java:1322)
> [java] at org.apache.jdo.tck.mapping.CompletenessTestList.loc
alSetUp(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:2
52)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(Batch
TestRunner.java:107)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(Batch
TestRunner.java:147)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchT
estRunner.
> java:122)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://iss
ues.apache.org/ji...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|