icebackhaz,
Thanks for the reply.  My mistake was assuming that a dry-run did
everything but the actual db insert.  I did not expect that setting
draft to true would result in the items showing up on gbase.  Now I
realize that 'draft' is an attribute of an item that basically allows
one to test item manipulation without publication.

thanks again,
-=beeky

On Sep 25, 1:52 pm, icebackhaz <[EMAIL PROTECTED]> wrote:
> The service.batch() method returns a feed.  You'll want to iterate
> through the entries therein:
>
> rfeed = sevice.batch();
> for ( Entry e : rfeed.getEntries() )
>   if (BatchUtil.isSuccess(e))
>      ;//oh goody
>   else {
>      BatchStatus status = BatchUtils.getBatchStatus(entry);
>      handleFailure(e, status); // your code here
>   }
>
> On Sep 25, 9:22 am, beeky <[EMAIL PROTECTED]> wrote:
>
> > I am getting close to having a client to do a batch insert.  I
> > setDraft(true) on all of my GoogleEntries and ran the client.  As
> > expected I saw a lot of data errors but the last line of output from
> > the result stream was:
> > Entryhttp://www.google.com/base/feeds/items/16716273748239134929was
> > successfully inserted
>
> > Is this the return I would have gotten if setDraft(false), i.e. one
> > item would have been inserted successfully or was setDraft(true) not
> > in effect?
>
> > Thanks,
> > -=beeky
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" 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-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to