Annotation Type JdbiRepository


@Target(TYPE) @Retention(RUNTIME) @Documented @Deprecated(forRemoval=true, since="3.47.0") public @interface JdbiRepository
Deprecated, for removal: This API element is subject to removal in a future version.
Use the org.jdbi.v3.spring module with Spring 6.x or newer.
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
    Deprecated, for removal: This API element is subject to removal in a future version.
    The qualifier (bean name) of the jdbi to use.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The name of the created bean. if omitted the default naming mechanism is used.
  • Element Details

    • value

      String value
      Deprecated, for removal: This API element is subject to removal in a future version.
      The name of the created bean. if omitted the default naming mechanism is used.
      Default:
      ""
    • jdbiQualifier

      String jdbiQualifier
      Deprecated, for removal: This API element is subject to removal in a future version.
      The qualifier (bean name) of the jdbi to use. Can be omitted if only one jdbi bean is available.
      Default:
      ""