Reputation: 31
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.
Upvotes: 3
Views: 535
Reputation: 2021
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;
}
Upvotes: 1