Issue Details (XML | Word | Printable)

Key: JDO-82
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Michelle Caisse
Reporter: Michelle Caisse
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

No JPOX support for embedded collections of wrapper types

Created: 13/Jul/05 06:06 AM   Updated: 23/Apr/06 02:38 AM
Return to search
Component/s: tck2
Affects Version/s: None
Fix Version/s: JDO 2 beta

Time Tracking:
Not Specified

Environment: jpox

Resolution Date: 23/Apr/06 02:38 AM


 Description  « Hide
Affected tests:
org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections
org.apache.jdo.tck.models.fieldtypes.TestLinkedListCollections
org.apache.jdo.tck.models.fieldtypes.TestListCollections
org.apache.jdo.tck.models.fieldtypes.TestVectorCollections

test(org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections)javax.jdo.JDODataStoreException: Iteration request failed : SELECT THIS.BIGDECIMAL_ELE FROM applicationidentity0.COLLECTION_OF_BIG_DECIMAL19 THIS WHERE 1 = THIS.IDENTIFIER_OID
   at org.jpox.store.rdbms.scostore.AbstractSetStore.iterator(AbstractSetStore.java:143)
   at org.jpox.sco.SCOUtils.updateStoreWithCollection(SCOUtils.java:247)
   at org.jpox.store.mapping.CollectionMapping.postUpdate(CollectionMapping.java:235)
   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.TestCollectionCollections.runTest(TestCollectionCollections.java:97)
   at org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections.test(TestCollectionCollections.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 42X05: Table 'APPLICATIONIDENTITY0.COLLECTION_OF_BIG_DECIMAL19' does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(StandardException.java)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(FromBaseTable.java)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(FromBaseTable.java)
   at org.apache.derby.impl.sql.compile.FromList.bindTables(FromList.java)
   at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(SelectNode.java)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(DMLStatementNode.java)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(DMLStatementNode.java)
   at org.apache.derby.impl.sql.compile.ReadCursorNode.bind(ReadCursorNode.java)
   at org.apache.derby.impl.sql.compile.CursorNode.bind(CursorNode.java)
   at org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java)
   at org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.java)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(GenericLanguageConnectionContext.java) at org.apache.derby.impl.jdbc.Emb
edPreparedStatement.<init>(EmbedPreparedStatement.java)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.<init>(EmbedPreparedStatement20.java)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.<init>(EmbedPreparedStatement30.java)
   at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Driver30.java)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java)
   at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:303)
   at org.jpox.store.StatementText.prepareStatement(StatementText.java:236)
   at org.jpox.store.rdbms.scostore.AbstractSetStore.iterator(AbstractSetStore.java:118)
   at org.jpox.sco.SCOUtils.updateStoreWithCollection(SCOUtils.java:247)
   at org.jpox.store.mapping.CollectionMapping.postUpdate(CollectionMapping.java:235)
   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.TestCollectionCollections.runTest(TestCollectionCollections.java:97)
   at org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections.test(TestCollectionCollections.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)

The .jdo is
...
<field name="CollectionOfBigDecimal19" >
<collection element-type="java.math.BigDecimal" embedded-element="true">
</collection>
...

And the orm:
...
           <field name="CollectionOfBigDecimal19" column="COLLECTION_OF_BIG_DECIMAL19">
           </field>
...


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.