code: @Override
  	public void commit() {
  		List<Key> deletes = new ArrayList<Key>();
  		deletes.add(Translation.toEntity(lock, Keys.create(
  				Translation.toKind(entity.getClass()), 
  				Entities.keyValue(entity))).getKey());
  		Key transactionKey = KeyFactory.stringToKey(lock.transaction());
  		
  		if (Keys.ancestor(transactionKey).equals(
  				Keys.create(Translation.toKind(entity.getClass()), Entities.keyValue(entity)))) {
  			deletes.add(transactionKey);
  			
  			for (Entity entity : datastore.query(
  					new Query(transactionKey).setKeysOnly())) {
  				deletes.add(entity.getKey());
  			}
  		}
  		
  		Key parent = Keys.create(Translation.toKind(entity.getClass()), Entities.keyValue(entity));
  		apply(operation, entity, Translation.toEntity(lock, parent).getKey(), deletes);
  	}
docs: Applies the transactional operation (WAL: Write Ahead Log) to the
  managing entity and unlocks it.