If you use a non-native datastore type that isn't declared to be
PersistenceCapable, you need to explicitly indicate that it is serializable:
@Persistent(serializable = "true")
Multimap map;

...

This should work if the class of the object implements Serializable. For
instance, I've been able to store HashMap objects this way.

- Jason

On Mon, Sep 21, 2009 at 2:26 PM, Dhamu <[email protected]> wrote:

>
> How to use multimap (http://google-collections.googlecode.com/svn/
> trunk/javadoc/com/google/common/collect/Multimap.html) in jdo?
>
>
> I get the following exception.
> org.datanucleus.exceptions.NucleusUserException: Field
> "...model.jdo.MyModel.content" is declared as a reference type
> (interface/Object) but no implementation classes of
> "com.google.common.collect.Multimap" have been found!
>
> please help!!
> >
>

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

Reply via email to