generated ids in java client

Andy Gross andy at basho.com
Thu Oct 28 17:30:10 EDT 2010


Hi Jon,

This is an often-requested feature that doesn't exist in the current Java
client - currently one needs to generate their own IDs.

Given the demand for this feature we'll likely implement it soon.  I've
created a bugzilla issue to track this:

http://issues.basho.com/show_bug.cgi?id=859

- Andy

On Thu, Oct 28, 2010 at 1:43 PM, Jon Brisbin <jon at jbrisbin.com> wrote:

> How do I get the ID when I want to store an object in Riak but let the
> server generate the ID for me? I've tried passing "null" and the empty
> string to the RiakObject constructor. Neither seems to work (I get a 400
> error back).
>
> I'm using the 0.11.0 java client against 0.12.0 server (from Homebrew on OS
> X 10.6)
>
> Thanks!
>
> Jon Brisbin
> http://jbrisbin.com/web2
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>



-- 
--
Andy Gross <andy at basho.com>
VP, Engineering
Basho Technologies, Inc.
http://basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20101028/f43b08a2/attachment.html>


More information about the riak-users mailing list