Hello Mat,
I am using following code to create data in table .. and data are created
successfully i can see it.
But now i am not able to edit or delete these data ...
Key guestbookKey = KeyFactory.createKey("TableMaster", "tblTableMaster");
Date date = new Date();
Entity greeting = new Entity("Company", guestbookKey);
greeting.setProperty("cNo", no);
greeting.setProperty("cName", name);
greeting.setProperty("cDate", date);
DatastoreService datastore =
DatastoreServiceFactory.getDatastoreService();
datastore.put(greeting);
these will call every time when user will fill the form with related
fields and click on insert... so data will be inserted but then no edition
or deletion for particular data ..
Please help ,me for this please..
thanks,
Vikash Patel
On Thu, Nov 10, 2011 at 4:32 AM, Emanuele Ziglioli <
[email protected]> wrote:
> So, from what I see, my query (that uses two simple indexes istead of
> one complex one) fails 4 or 5 times then succeeds. I'm testing on the
> local server with the latest SDK 1.6.0.
>
> The funny thing is that if I change the number of rows I fetch, that
> query also fails 5 times (or a number of seconds) before it starts
> working!!
>
> I don't know if I can log the GQL that goes out to show you
>
> On Nov 10, 10:54 am, Emanuele Ziglioli <[email protected]>
> wrote:
> > Just tried again, now it seems to be working!
> >
> > On Nov 10, 10:49 am, Emanuele Ziglioli <[email protected]>
> > wrote:
> >
> >
> >
> >
> >
> >
> >
> > > It's not working for me either, using Siena:
> >
> > >http://groups.google.com/group/siena-discuss/browse_thread/thread/b41.
> ..
> >
> > > On Nov 10, 2:14 am, Matthew Jaggard <[email protected]> wrote:
> >
> > > > Hi VIKASH,
> > > > It looks like you've replied to an unrelated message. If this is
> > > > not the case, please clarify. Otherwise, please repost a new thread
> > > > and give more detail.
> >
> > > > What are you trying to do?
> > > > What have you tried?
> > > > Are you using the low level API, JDO or JPA?
> > > > Post the relevant bit of your code too if possible.
> >
> > > > Thanks,
> > > > Mat.
> >
> > > > On 9 November 2011 12:47, VIKASH PATEL <[email protected]>
> wrote:
> >
> > > > > Hello Friends,
> >
> > > > > Can anyone have idea for working with datastore.
> > > > > I am able to create key and entity in data store but i am not able
> to edit
> > > > > or delete the created data..
> > > > > so if any one has then pls help me
> >
> > > > > On Wed, Nov 9, 2011 at 3:12 PM, Mos <[email protected]>
> wrote:
> >
> > > > >> Does the improved query planner reduce the need of managing
> indexes
> > > > >> manually in the datastore-index.xml file?
> >
> > > > >> I'm a bit confused.
> > > > >> The documentation is not obvious for me.
> >
> > > > >> In local development mode I set autoGenerate="false" and delete
> the
> > > > >> datastore-index-auto.xml.
> > > > >> My application runs fine.
> >
> > > > >> Deploying on GAE I've got the annoying
> >
> > > > >> com.google.appengine.api.datastore.DatastoreNeedIndexException: no
> > > > >> matching index found.
> >
> > > > >> exception.
> >
> > > > >> Hence, how does the improved query planner change the workflow of
> a GAE
> > > > >> developer?
> >
> > > > >> Cheers
> > > > >> Mos
> >
> > > > >> --
> > > > >> 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
> > > > >> [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-java?hl=en.
> >
> > > > > --
> > > > > 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
> [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-java?hl=en.
>
> --
> 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
> [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-java?hl=en.
>
>
--
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 [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-java?hl=en.