use of com.google.apphosting.datastore.DatastoreV3Pb.BeginTransactionRequest in project appengine-java-standard by GoogleCloudPlatform.
the class RemoteApiServlet method beginTransaction.
// Datastore utility functions.
private static byte[] beginTransaction(boolean allowMultipleEg) {
String appId = ApiProxy.getCurrentEnvironment().getAppId();
byte[] req = new BeginTransactionRequest().setApp(appId).setAllowMultipleEg(allowMultipleEg).toByteArray();
return ApiProxy.makeSyncCall("datastore_v3", "BeginTransaction", req);
}
Aggregations