code: public static List<Entity> toEntities(AppEngineTransaction transaction,
  			com.google.appengine.api.datastore.Key parent) {
  		List<Entity> entities = new ArrayList<Entity>();
  		com.google.appengine.api.datastore.Key key 
  				= Keys.create(parent, TRANSACTION_KIND, transaction.id());
  		entities.add(new Entity(key));
  		
  		for (Log log : transaction.logs()) {
  			Entity entity = new Entity(Keys.create(key, LOG_KIND, log.sequence()));
  			entity.setUnindexedProperty(OPERATION_PROPERTY, log.operation().name());
  			entity.setUnindexedProperty(CLASS_PROPERTY, log.entity().getClass().getName());
  			List<Blob> blobs = new ArrayList<Blob>();
  			entity.setUnindexedProperty(PROTO_PROPERTY, blobs);
  			entities.add(entity);
  			
  			for (Entity e : toEntities(log.entity())) {
  				EntityProto proto = EntityTranslator.convertToPb(e);
  				byte[] bytes = proto.toByteArray();
  				blobs.add(new Blob(bytes));
  			}
  		}
  		
  		return entities;
  	}
docs: Translates Acid House {@code AppEngineTransaction} entity to Google App
  Engine Datastore entities with the specified {@code Key} of parent.
  
  @param transaction Acid House {@code Lock} entity.
  @param parent The {@code Key} of parent.
  @return Google App Engine Datastore entities translated from Acid House
  {@code AppEngineTransaction} entity.