[ http://issues.apache.org/jira/browse/JDO-199?page=all ]
Michael Bouschen closed JDO-199:
--------------------------------
Fix Version: JDO 2 beta
Resolution: Fixed
> Embedded type must be persistence capable
> -----------------------------------------
>
> Key: JDO-199
> URL: http://issues.apache.org/jira/browse/JDO-199
> Project: JDO
> Type: Bug
> Components: tck20
> Reporter: Michelle Caisse
> Assignee: Michelle Caisse
> Fix For: JDO 2 beta
>
> Metadata must specify instantiated type when the declared type is an
> interface or object. Failure to do this is causing the following errors:
> 6)
> test(org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections)javax.jdo.JDOUserException:
> Field
> "org.apache.jdo.tck.pc.fieldtypes.ArrayListCollections.ArrayListOfObject2" is
> declared as a reference type (interface/Object) but no implementation classes
> of "java.lang.Object" have been found!
> 7)
> test(org.apache.jdo.tck.models.fieldtypes.TestHashMapStringKeyCollections)org.jpox.metadata.InvalidMetaDataException:
> Field
> "org.apache.jdo.tck.pc.fieldtypes.HashMapStringKeyCollections.HashMapOfString_SimpleInterface48"
> is a map with values of type
> "org.apache.jdo.tck.pc.fieldtypes.SimpleInterface" yet has been specified as
> the value being embedded. Your embedded type must be PersistenceCapable.
> 8)
> test(org.apache.jdo.tck.models.fieldtypes.TestHashMapStringValueCollections)org.jpox.metadata.InvalidMetaDataException:
> Field
> "org.apache.jdo.tck.pc.fieldtypes.HashMapStringValueCollections.HashMapOfObject_String0"
> is a map with keys of type "org.apache.jdo.tck.pc.fieldtypes.Object" yet has
> been specified as the key being embedded. Your embedded type must be
> PersistenceCapable.
> 9)
> test(org.apache.jdo.tck.models.fieldtypes.TestHashtableStringKeyCollections)org.jpox.metadata.InvalidMetaDataException:
> Field
> "org.apache.jdo.tck.pc.fieldtypes.HashtableStringKeyCollections.HashtableOfString_SimpleInterface48"
> is a map with values of type
> "org.apache.jdo.tck.pc.fieldtypes.SimpleInterface" yet has been specified as
> the value being embedded. Your embedded type must be PersistenceCapable.
> 10)
> test(org.apache.jdo.tck.models.fieldtypes.TestHashtableStringValueCollections)org.jpox.metadata.InvalidMetaDataException:
> Field
> "org.apache.jdo.tck.pc.fieldtypes.HashtableStringValueCollections.HashtableOfObject_String0"
> is a map with keys of type "org.apache.jdo.tck.pc.fieldtypes.Object" yet has
> been specified as the key being embedded. Your embedded type must be
> PersistenceCapable.
> 11)
> test(org.apache.jdo.tck.models.fieldtypes.TestMapStringKeyCollections)org.jpox.metadata.InvalidMetaDataException:
> Field
> "org.apache.jdo.tck.pc.fieldtypes.MapStringKeyCollections.MapOfString_SimpleInterface48"
> is a map with values of type
> "org.apache.jdo.tck.pc.fieldtypes.SimpleInterface" yet has been specified as
> the value being embedded. Your embedded type must be PersistenceCapable.
> 12)
> test(org.apache.jdo.tck.models.fieldtypes.TestMapStringValueCollections)org.jpox.metadata.InvalidMetaDataException:
> Field
> "org.apache.jdo.tck.pc.fieldtypes.MapStringValueCollections.MapOfObject_String0"
> is a map with keys of type "org.apache.jdo.tck.pc.fieldtypes.Object" yet has
> been specified as the key being embedded. Your embedded type must be
> PersistenceCapable.
> 13)
> test(org.apache.jdo.tck.models.fieldtypes.TestTreeMapStringKeyCollections)org.jpox.metadata.InvalidMetaDataException:
> Field
> "org.apache.jdo.tck.pc.fieldtypes.TreeMapStringKeyCollections.TreeMapOfString_SimpleInterface48"
> is a map with values of type
> "org.apache.jdo.tck.pc.fieldtypes.SimpleInterface" yet has been specified as
> the value being embedded. Your embedded type must be PersistenceCapable.
> 14)
> test(org.apache.jdo.tck.models.fieldtypes.TestTreeMapStringValueCollections)org.jpox.metadata.InvalidMetaDataException:
> Field
> "org.apache.jdo.tck.pc.fieldtypes.TreeMapStringValueCollections.TreeMapOfObject_String0"
> is a map with keys of type "org.apache.jdo.tck.pc.fieldtypes.Object" yet has
> been specified as the key being embedded. Your embedded type must be
> PersistenceCapable.
> 15)
> test(org.apache.jdo.tck.models.fieldtypes.TestTreeSetCollections)javax.jdo.JDOUserException:
> Field
> "org.apache.jdo.tck.pc.fieldtypes.TreeSetCollections.TreeSetOfObject1" is
> declared as a reference type (interface/Object) but no implementation classes
> of "java.lang.Object" have been found!
--
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