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.
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
Modifier and TypeOptional ElementDescriptionClass<?>[]
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 thevalue()
andbasePackages()
properties.String[]
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 thevalue()
andbasePackageClasses()
properties.Class<?>[]
Deprecated, for removal: This API element is subject to removal in a future version.Exact array of classes to consider as repositories.String[]
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 thebasePackages()
andbasePackageClasses()
properties.
-
Element Details
-
value
String[] valueDeprecated, 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 thebasePackages()
andbasePackageClasses()
properties.- Default:
{}
-
basePackages
String[] basePackagesDeprecated, 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 thevalue()
andbasePackageClasses()
properties.- Default:
{}
-
basePackageClasses
Class<?>[] basePackageClassesDeprecated, 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 thevalue()
andbasePackages()
properties.- Default:
{}
-
repositories
Class<?>[] repositoriesDeprecated, 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 invalue()
,basePackages()
orbasePackageClasses()
.- Default:
{}
-
org.jdbi.v3.spring
module with Spring 6.x or newer.