Hi, again.
So, if somebody interested in this issue I've found solution.
I added some kind of wrapper for interface, so now field of persistent
class looks like that:
<code>
...
/* Serializable document. */
@Persistent(serialized="true")
private DocumentWrapper document;
...
</code>
, - where DocumentWrapper is
<code>
public class DocumentWrapper implements Serializable {
/* Interface for any type of document. */
private TemplateDocument content;
/* Constructors and methods go here. */
}
</code>
It works for me. Also, I guess DocumentWrapper can be used as embeded
class, so it would be saved in a little different way. It's your way
to choose.
Hope, in future releases this issue will be fixed.
Best regards, Alexander.
--
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.