注释类型 SqlGroup
@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Inherited public @interface SqlGroup
Container annotation that aggregates several@Sql
annotations.Can be used natively, declaring several nested
@Sql
annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where@Sql
can simply be declared several times on the same class or method, implicitly generating this container annotation.This annotation may be used as a meta-annotation to create custom composed annotations.
- 从以下版本开始:
- 4.1
- 作者:
- Sam Brannen
- 另请参阅:
Sql