Package org.jdbi.v3.spring5
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.
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
Modifier and TypeOptional ElementDescriptionDeprecated, 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 valueDeprecated, 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 jdbiQualifierDeprecated, 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:
""
-
org.jdbi.v3.spring
module with Spring 6.x or newer.