Package org.jdbi.v3.spring5
Annotation Type EnableJdbiRepositories
@Retention(RUNTIME)
@Target(TYPE)
@Documented
@Import(JdbiRepositoryRegistrar.class)
public @interface EnableJdbiRepositories
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 SummaryOptional ElementsModifier and TypeOptional ElementDescriptionClass<?>[]The packages of these classes are used as base packages for repository scanning in addition to thevalue()andbasePackages()properties.String[]The names of the base packages used for repository scanning in addition to thevalue()andbasePackageClasses()properties.Class<?>[]Exact array of classes to consider as repositories.String[]The names of the base packages used for repository scanning in addition to thebasePackages()andbasePackageClasses()properties.
- 
Element Details- 
valueString[] valueThe names of the base packages used for repository scanning in addition to thebasePackages()andbasePackageClasses()properties.- Default:
- {}
 
- 
basePackagesString[] basePackagesThe names of the base packages used for repository scanning in addition to thevalue()andbasePackageClasses()properties.- Default:
- {}
 
- 
basePackageClassesClass<?>[] basePackageClassesThe packages of these classes are used as base packages for repository scanning in addition to thevalue()andbasePackages()properties.- Default:
- {}
 
- 
repositoriesClass<?>[] repositoriesExact array of classes to consider as repositories. Overriding any of the values defined invalue(),basePackages()orbasePackageClasses().- Default:
- {}
 
 
-