com.liferay.portal.kernel.transaction
Annotation Type Transactional
@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface Transactional
enabled
public abstract boolean enabled
- Default:
- true
isolation
public abstract Isolation isolation
- Default:
- com.liferay.portal.kernel.transaction.Isolation.DEFAULT
noRollbackFor
public abstract Class<? extends Throwable>[] noRollbackFor
- Default:
- {}
noRollbackForClassName
public abstract String[] noRollbackForClassName
- Default:
- {}
propagation
public abstract Propagation propagation
- Default:
- com.liferay.portal.kernel.transaction.Propagation.REQUIRED
readOnly
public abstract boolean readOnly
- Default:
- false
rollbackFor
public abstract Class<? extends Throwable>[] rollbackFor
- Default:
- {}
rollbackForClassName
public abstract String[] rollbackForClassName
- Default:
- {}
timeout
public abstract int timeout
- Default:
- -1