We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5638bf3 commit aa517b0Copy full SHA for aa517b0
README.md
@@ -428,7 +428,7 @@ public class DynamicDataSourceAspect {
428
}
429
430
431
- @After("daoAspect())")
+ @After("daoAspect()")
432
public void restoreDataSource(JoinPoint point) {
433
DynamicDataSourceContextHolder.clearDataSourceKey();
434
logger.info("Restore DataSource to [{}] in Method [{}]",
@@ -596,4 +596,4 @@ public interface ProductDao {
596
597
## 注意
598
599
-> 在该应用中因为使用了 DAO 层的切面切换数据源,所以 `@Transactional` 注解不能加在类上,只能用于方法;有 `@Trasactional`注解的方法无法切换数据源
+> 在该应用中因为使用了 DAO 层的切面切换数据源,所以 `@Transactional` 注解不能加在类上,只能用于方法;有 `@Trasactional`注解的方法无法切换数据源
0 commit comments