Apache JDO Project - [jira] Commented: (JDO-98) TestArrayCollections: Field "ArrayOfBigDecimal13"

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > November 2005 > [jira] Commented: (JDO-98) TestArrayCollections: Field "ArrayOfBigDecimal13"





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-98) TestArrayCollections: Field "ArrayOfBigDecimal13"
Craig Russell (JIRA)

2005-11-04, 5:45 pm

[ http://issues.apache.org/jira/brows...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 element

s 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(MetaDataM
anager.java:399)
> at org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:308)
> at org.jpox.AbstractPersistenceManager. hasMetaDataForPersistenceCapableClass(Ab
stractPersistenceManager.java:381)
> at org.jpox.AbstractPersistenceManager. assertPersistenceCapable(AbstractPersist
enceManager.java:412)
> at org.jpox.AbstractPersistenceManager. internalMakePersistent(AbstractPersisten
ceManager.java:950)
> at org.jpox.AbstractPersistenceManager. makePersistent(AbstractPersistenceManage
r.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/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