[appengine-java] Re: how to save and read large content of strings to GAE JDO object

2009-12-14 Thread abhi
Hey, try something like this @PersistenceCapable(identityType = IdentityType.APPLICATION) public class MyLongTextExample { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent private Text content; p

[appengine-java] Re: how to save and read large content of strings to GAE JDO object

2009-12-14 Thread noelo
Thanks a lot! Now I have a new question,how can I delete the datas which generated when I test my temp application in the local environment(Eclipse + GAE plugin). Cause I had to change some properties of the model,and I met some error of data type unmatch,how can I delete the former local data whi

[appengine-java] Re: how to save and read large content of strings to GAE JDO object

2009-12-14 Thread noelo
how can I delete the datas which generated when I test my temp application in the local environment(Eclipse + GAE plugin). Cause I had to change some properties of the model,and I met some error of data type unmatch,how can I delete the former local data which was different from the new data class

[appengine-java] Re: how to save and read large content of strings to GAE JDO object

2009-12-14 Thread noelo
Have I had to change the decleration of the property "content", not just "@Persistent "?"@Persistent(serialized="true", defaultFetchGroup="true")" or "@Enumerated",whitch one is true? I met the problem as follow: ARNING: Conversion error for org.datanucleus.store.appengine.query.StreamingQueryResu