Annotation Type EnableJdbiRepositories


@Retention(RUNTIME) @Target(TYPE) @Documented @Import(JdbiRepositoryRegistrar.class) @Deprecated(forRemoval=true, since="3.47.0") public @interface EnableJdbiRepositories
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.
Annotating a spring configuration class with this annotation enables the scanning/detection of jdbi repositories. The scanned packages can be configured in the annotation. If no explicit configuration is done the package of the annotated element will be used as the sole base package.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    The packages of these classes are used as base packages for repository scanning in addition to the value() and basePackages() properties.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The names of the base packages used for repository scanning in addition to the value() and basePackageClasses() properties.
    Class<?>[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Exact array of classes to consider as repositories.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The names of the base packages used for repository scanning in addition to the basePackages() and basePackageClasses() properties.
  • Element Details

    • value

      String[] value
      Deprecated, for removal: This API element is subject to removal in a future version.
      The names of the base packages used for repository scanning in addition to the basePackages() and basePackageClasses() properties.
      Default:
      {}
    • basePackages

      String[] basePackages
      Deprecated, for removal: This API element is subject to removal in a future version.
      The names of the base packages used for repository scanning in addition to the value() and basePackageClasses() properties.
      Default:
      {}
    • basePackageClasses

      Class<?>[] basePackageClasses
      Deprecated, for removal: This API element is subject to removal in a future version.
      The packages of these classes are used as base packages for repository scanning in addition to the value() and basePackages() properties.
      Default:
      {}
    • repositories

      Class<?>[] repositories
      Deprecated, for removal: This API element is subject to removal in a future version.
      Exact array of classes to consider as repositories. Overriding any of the values defined in value(), basePackages() or basePackageClasses().
      Default:
      {}