code: public void commit(Object root) {
  		try {
  			XChangesBatch xUpdateControl = (XChangesBatch) UnoRuntime
  					.queryInterface(XChangesBatch.class, root);
  			xUpdateControl.commitChanges();
  		} catch (WrappedTargetException e) {
  			e.printStackTrace();
  		}
  	}
docs: Commit the XChangeBatch control
  
  @param root