To support adding renditions to an Asset in a transactional context, setBatchMode() should be implemented to prevent the changes being commited.
See https://docs.adobe.com/docs/en/aem/6-2/develop/ref/javadoc/com/day/cq/dam/api/Asset.html#setBatchMode(boolean)