Anyone can help on this...

On Wed, Sep 14, 2011 at 9:13 PM, Deepak Singh <[email protected]>wrote:

> Hi,
>
> I am using GAE 1.5.4 JAVA.
>
> public class Citynames implements Serialisable{
>    String id;
>     String name;
>    // getter setter
> }
>
> I have a list of city names contained in an arraylist,
>
> ArrayList<String> list = new ArrayList<String>();
>
>
> for(........)  {
>
> Citynames city = new Citynames();
> city.add("11");
> city.add(""ddd);
> list.add(city);
>
> }
>
> Now i need to store this list in datastore.
> What is the best way to acheive this as
>
> datastore.put(list) is not working and fails with following exception
>
> Citynames is not a supported property type.
>
>
> Thanks
> Deepak
>
>
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to