批注接口 DS


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented public @interface DS
The core Annotation to switch datasource. It can be annotated at class or method.
从以下版本开始:
1.0.0
作者:
TaoYu Kanyuxia
  • 必需元素概要

    所需元素
    修饰符和类型
    必需的元素
    说明
    groupName or specific database name or spring SPEL name.
  • 元素详细资料

    • value

      String value
      groupName or specific database name or spring SPEL name.
      返回:
      the database you want to switch