Package xyz.block.ftl
Annotation Transactional
-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Target(value = ElementType.METHOD)@Retention(value = RetentionPolicy.RUNTIME) public @interface Transactional
Annotation that is used to define the boundaries of a transaction. When a transaction verb is called, a new transaction is started. When the verb returns, the transaction is committed unless an exception is thrown. If an exception is thrown, the transaction is rolled back.