That is assuming you want/need to generate a Key for some reason. You do not have to construct your own keys.
Robert On Fri, Oct 29, 2010 at 23:38, Robert Kluin <[email protected]> wrote: > Take a look at KeyRange: > http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/KeyRange.html > > > > Robert > > > > > > > On Thu, Oct 28, 2010 at 18:17, David Toledo <[email protected]> wrote: >> Hi All >> >> Exist some way from create the incremental value when created the object key >> manually >> >> example: >> >> Key keyProveedor = KeyFactory.createKey(key, >> Proveedor.class.getSimpleName(), null); >> >> the null should autogenerate incremental >> >> Thanks >> David >> >> >> >> -- >> 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. >> > -- 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.
