views:

43

answers:

1

i am developing an application on Google app Engine i am saving HTML text in datastore using com.google.appengine.api.datastore.Text. All transaction working fine except for partial string which is stored in datastore. i don't the exact problem.

+1  A: 

The "java.lang.String" that you would typically use is limited to 500 characters.

You need to import and use

import com.google.appengine.api.datastore.Text;
....


class HtmlItem {

     @Persistent
     private Text html;
}
Derrick
yeah i8ts is certainly working but all the characters are not saved in data-store i have already tried this.
Altaf Rahman
It would be very helpful if you posted more code.
Derrick