Created
December 28, 2020 09:05
-
-
Save HydrangeaPurple/8ebf6ff4db29d0eff3fc0a4d3d25d819 to your computer and use it in GitHub Desktop.
多数据源事务切面注解
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tydic.utils.common.annotation; | |
import java.lang.annotation.*; | |
@Target(ElementType.METHOD) | |
@Retention(RetentionPolicy.RUNTIME) | |
@Documented | |
public @interface MultiTransactional { | |
String[] value() default ""; | |
Class<? extends Throwable>[] rollbackFor() default {}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment