Hey,
try something like this

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class MyLongTextExample {

         @PrimaryKey
         @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
          private Long id;

       @Persistent
        private Text content;

       public MyLongTextExample(String content) {

                this.content = new Text(content);
        }
}

getter for content is something like this
   public String getContent() {
        return content.getValue().toString();
    }

--

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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to