All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cds.transaction.TransactionManager Maven / Gradle / Ivy

There is a newer version: 3.8.0
Show newest version
/*******************************************************************
 * © 2019 SAP SE or an SAP affiliate company. All rights reserved. *
 *******************************************************************/
package com.sap.cds.transaction;

public interface TransactionManager {

	/**
	 * Checks if there is an active transaction associated with the current thread
	 * 
	 * @return true if there is an active transaction;
	 *         false otherwise
	 */
	boolean isActive();

	/**
	 * If the current thread is associated with an active transaction it is set in
	 * rollback only mode
	 */
	void setRollbackOnly();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy