generated ids in java client

Jon Brisbin jon at jbrisbin.com
Thu Oct 28 16:43:17 EDT 2010


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



More information about the riak-users mailing list