matrix.boot.jdbc.annotation.DynamicTransactional Maven / Gradle / Ivy
The newest version!
package matrix.boot.jdbc.annotation;
import org.springframework.transaction.annotation.Transactional;
import java.lang.annotation.*;
/**
* 动态事务注解
*
* @author WangCheng
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
@Transactional
public @interface DynamicTransactional {
/**
* 数据库key名称
*/
String value();
}