I'm getting the following error using DataNucleus with Google App
Engine:

org.datanucleus.metadata.InvalidMetaDataException: Field "test" in
class "Wrapper" has been defined as a Collection but the element type
has not been specified!

It seems DataNucleus doesn't figure out the collection type when the
type is specified in the declaration of a class.

For example, the following fails with an InvalidMetaDataException as
noted above...
public class Wrapper {
...
@Persistent
private Test test;
...
}

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Test extends ArrayList<String> {
...
}

Is there a way to change my annotations so that DataNucleus will
accept my type declaration, or do I have to change my code?

I posted this to the DataNucleus forum on Aug. 13 but haven't heard a
peep.

Thanks for any help,
Peter

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to