db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-98) TestArrayCollections: Field "ArrayOfBigDecimal13" in class "ArrayCollections" has been defined with elements that arent embedded. JPOX doesnt support this
Date Fri, 04 Nov 2005 19:33:20 GMT
    [ http://issues.apache.org/jira/browse/JDO-98?page=comments#action_12356815 ] 

Craig Russell commented on JDO-98:
----------------------------------

Issue 137 has been raised on the JDO expert group to allow specification of element-type for
array. This will allow us to specify element-type of SimpleClass for Object[ ] and SimpleInterface[
].

Independently, issue 138 has been raised to allow the implementation to specify whether they
support references to Object and SimpleInterface to be mapped, or whether a more specific
type is needed in the metadata.


> TestArrayCollections: Field "ArrayOfBigDecimal13" in class "ArrayCollections" has been
defined with elements that arent embedded. JPOX doesnt support this
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: JDO-98
>          URL: http://issues.apache.org/jira/browse/JDO-98
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michelle Caisse
>     Assignee: Craig Russell

>
> test(org.apache.jdo.tck.models.fieldtypes.TestArrayCollections)org.jpox.metadata.InvalidMetaDataException:
Field "ArrayOfBigDecimal13" in class "ArrayCollections" has been defined with elements that
arent embedded. JPOX doesnt support this - the elements must be embedded.
> 	at org.jpox.metadata.ArrayMetaData.populate(ArrayMetaData.java:106)
> 	at org.jpox.metadata.FieldMetaData.populate(FieldMetaData.java:662)
> 	at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:697)
> 	at org.jpox.metadata.MetaDataManager.populateClassesInFile(MetaDataManager.java:635)
> 	at org.jpox.metadata.MetaDataManager.getMetaDataForClassOrInterface(MetaDataManager.java:399)
> 	at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:308)
> 	at org.jpox.AbstractPersistenceManager.hasMetaDataForPersistenceCapableClass(AbstractPersistenceManager.java:381)
> 	at org.jpox.AbstractPersistenceManager.assertPersistenceCapable(AbstractPersistenceManager.java:412)
> 	at org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:950)
> 	at org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1048)
> 	at org.apache.jdo.tck.models.fieldtypes.TestArrayCollections.runTest(TestArrayCollections.java:95)
> 	at org.apache.jdo.tck.models.fieldtypes.TestArrayCollections.test(TestArrayCollections.java:67)
> 	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:197)
> 	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