views:

137

answers:

1

I'm using app engine (Java) datastore API to build a project. I'm not using JDO/JPA but low level API.

How can I set multiple values for an entity property? I can find documentation about how to do so when using JDO or JPA (using Lists) but can't find that info for low level API.

Thanks.

+2  A: 

setProperty [accepts collections][1].

[1]: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Entity.html#setProperty%28java.lang.String, java.lang.Object)

Dmitry