Annotation Type 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.

    Since:
    4.1
    Author:
    Sam Brannen
    See Also:
    Sql
    • Required Element Summary

      Required Elements 
      Modifier and TypeRequired ElementDescription
      Sql[]value