Annotation Type JdbiRepository


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface JdbiRepository
When EnableJdbiRepositories is used, detected interfaces with this annotation will be regarded as a jdbi (sql-object) repository and are elligible for autowiring. The handle used for the execution is obtained and discarded using JdbiUtil and consequently will work in combination with spring managed transactions.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The qualifier (bean name) of the jdbi to use.
    The name of the created bean.
  • Element Details

    • value

      String value
      The name of the created bean. if omitted the default naming mechanism is used.
      Default:
      ""
    • jdbiQualifier

      String jdbiQualifier
      The qualifier (bean name) of the jdbi to use. Can be omitted if only one jdbi bean is available.
      Default:
      ""