[jira] Closed: (JDO-82) No JPOX support for embedded collections of wrapper types
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Closed: (JDO-82) No JPOX support for embedded collections of wrapper types




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Closed: (JDO-82) No JPOX support for embedded collections of wrapper types  
Michelle Caisse (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-31-05 10:45 PM

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

Michelle Caisse closed JDO-82:
------------------------------


> No JPOX support for embedded collections of wrapper types
> ---------------------------------------------------------
>
>          Key: JDO-82
>          URL: http://issues.apache.org/jira/browse/JDO-82
>      Project: JDO
>         Type: Bug
>   Components: tck20
>  Environment: jpox
>     Reporter: Michelle Caisse
>     Assignee: Michelle Caisse

>
> 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 = TH
IS.IDENTIFIER_OID
>    at org.jpox.store.rdbms.scostore.AbstractSetStore.iterator(AbstractSetS
tore.java:143)
>    at org.jpox.sco.SCOUtils.updateStoreWithCollection(SCOUtils.java:247)
>    at org.jpox.store.mapping.CollectionMapping.postUpdate(CollectionMappin
g.java:235)
>    at org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.jav
a: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.runTe
st(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(DelegatingMethodAcce
ssorImpl.java:25)
>    at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
>    at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:1
28)
>    at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:10
6)
> NestedThrowablesStackTrace:
> ERROR 42X05: Table 'APPLICATIONIDENTITY0.COLLECTION_OF_BIG_DECIMAL19' does
 not exist.
>    at org.apache.derby.iapi.error.StandardException.newException(StandardE
xception.java)
>    at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(
FromBaseTable.java)
>    at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Fro
mBaseTable.java)
>    at org.apache.derby.impl.sql.compile.FromList.bindTables(FromList.java)
>    at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Select
Node.java)
>    at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(DMLSta
tementNode.java)
>    at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(DMLStatement
Node.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(GenericStateme
nt.java)
>    at org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.
java)
>    at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prep
 areInternalStatement(GenericLanguageConn
ectionContext.java)   at org.apache.
derby.impl.jdbc.Emb
> edPreparedStatement.<init>(EmbedPreparedStatement.java)
>    at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.<init>(EmbedPrep
aredStatement20.java)
>    at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.<init>(EmbedPrep
aredStatement30.java)
>    at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Driver30.ja
va)
>    at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedCon
nection.java)
>    at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedCon
nection.java)
>    at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProx
yConnection.java:303)
>    at org.jpox.store.StatementText.prepareStatement(StatementText.java:236
)
>    at org.jpox.store.rdbms.scostore.AbstractSetStore.iterator(AbstractSetS
tore.java:118)
>    at org.jpox.sco.SCOUtils.updateStoreWithCollection(SCOUtils.java:247)
>    at org.jpox.store.mapping.CollectionMapping.postUpdate(CollectionMappin
g.java:235)
>    at org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.jav
a: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.runTe
st(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(DelegatingMethodAcce
ssorImpl.java:25)
>    at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
>    at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:1
28)
>    at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:10
6)
> 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_BI
G_DECIMAL19">
>            </field>
> ...

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:29 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register