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 <[email protected]> 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
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>



-- 
--
Andy Gross <[email protected]>
VP, Engineering
Basho Technologies, Inc.
http://basho.com
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to