basho/riak-java-client — pull request #93 by niklasgawell (2012-01-26 09:45:45+00:00)
Title: Store objects without any key

When storing things to Riak without a primary key it requires the client to post rather than to put. The server will respond with a location containing a generated primary key.

I changed the ClientHelper to chose post over put when there is no primary key provided by the user. The store response will also be populated with the key part of the location in the object.key field.