db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (JDO-98) TestArrayCollections: Field "ArrayOfBigDecimal13" in class "ArrayCollections" has been defined with elements that arent embedded. JPOX doesnt support this
Date Wed, 26 Oct 2005 05:10:55 GMT
     [ http://issues.apache.org/jira/browse/JDO-98?page=all ]

Andy Jefferson reassigned JDO-98:
---------------------------------

    Assign To: Michelle Caisse  (was: Andy Jefferson)

With JPOX latest build this now fails with 

test(org.apache.jdo.tck.models.fieldtypes.TestArrayCollections)javax.jdo.JDOUserException:
Field "org.apache.jdo.tck.pc.fieldtypes.ArrayCollections.ArrayOfObject1" i
s declared as a reference type (interface/Object) but no implementation classes of "class
java.lang.Object" have been found!
        at org.jpox.store.rdbms.table.ColumnCreator.getImplementationNamesForReferenceField(ColumnCreator.java:244)
        at org.jpox.store.rdbms.table.ColumnCreator.createColumnsForReferenceField(ColumnCreator.java:310)
        at org.jpox.store.rdbms.table.ColumnCreator.createColumnsForField(ColumnCreator.java:399)
        at org.jpox.store.rdbms.table.ColumnCreator.createColumns(ColumnCreator.java:94)

consequently the MetaData needs updates so that implementations can map it.

> 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: Michelle Caisse

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