I found the issue. Datastore cannot seem to store '%' sign! What is
the workaround if I want to store '%' sign e.g. I want to store a
string that says "Congratulations, you got 100%!".

Thank you.

On Nov 11, 11:22 am, jdwx <[email protected]> wrote:
> Hello guys,
>
> I am using Java. Usually when I am storing data, it will be a number
> of objects at the same time.
>
> I will first create many objects and then use
>
> persistenceManager.makePersistentAll(Objects);
> persistenceManager.close();
>
> My system sometimes, will need to edit a few of these Objects, and I
> do
>
> Object.setAttribute(something)
> persistenceManager.close();
>
> I do not think there are errors sending in the data? I can view the
> data in my datastore, just that when I click on it to fetch it(the
> data entry's primary key has a blue link when you click on it you get
> to edit the entry), it fails. When my app retrieves it through
> persistenceManager.newQuery(sQuery).execute();, it works but when I
> try to output the results of the query, it fails. Logs are clean. Is
> my datastore input method wrong or something?
>
> Thank you.
>
> On Nov 11, 1:27 am, 风笑雪 <[email protected]> wrote:
>
>
>
> > You can try to retrieve it by low level api:
>
> > from google.appengine.api import datastore
> > print datastore.Query('model_name', {'attr_name =': xxx}).Get(1)
>
> > ----------
> > keakon
>
> > On Wed, Nov 10, 2010 at 11:45 PM, jdwx <[email protected]> wrote:
> > > Hello,
>
> > > I have a datastore entry that is not viewable i.e. I get "A server
> > > error has occurred." when I click on the entry in the datastore
> > > viewer. This particular data entry is causing my app to crash too when
> > > I try to retrieve  and display it. Does anyone know the reason?
>
> > > Thank you.
> > > Gerald
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Google App Engine" 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 
> > > athttp://groups.google.com/group/google-appengine?hl=en.-Hide quoted text 
> > > -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to