Dear Tao,

As I understand, you should not use byte[] in GAE store. GAE only support 
some core value type here: 
http://code.google.com/appengine/docs/java/datastore/entities.html#Properties_and_Value_Types

So I think you may change to ShortBlob:
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/ShortBlob.html

Here I go:

private List<ShortBlob> attachments = new ArrayList<ShortBlob>();
ShortBlob foo = new ShortBlob(new byte[]...);
attachments.add(foo);

Hope this help.
KhanhDM.

-- 
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