glaforge/gaelyk — pull request #154 by RobertFischer (2012-08-11 23:30:42+00:00)
Title: Allow cross-group transactions

Here's an improvement that allows you to pass `true` to `withTransaction` in order to enable cross-group transactions. Two things about this code.

1) As of now, the TransactionOptions.Builder class doesn't really behave like a builder -- it's a factory, and it's a factory with two options (defaults, xg). So the boolean is the best way to go. I'll go for an alternative implementation if/when the TransactionOptions.Builder becomes more builder-y.

2) It requires a high-replication datastore for testing, which I thought I configured correctly, but which is still bombing out on me. I'm not sure how you want to handle that.