|
|
|
|
@ -77,10 +77,17 @@ public @interface EnableJdbcRepositories {
@@ -77,10 +77,17 @@ public @interface EnableJdbcRepositories {
|
|
|
|
|
Filter[] excludeFilters() default {}; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Configures whether nested repository-interfaces (e.g. defined as inner classes) should be discovered by the |
|
|
|
|
* repositories infrastructure. |
|
|
|
|
* Returns the postfix to be used when looking up custom repository implementations. Defaults to {@literal Impl}. So |
|
|
|
|
* for a repository named {@code PersonRepository} the corresponding implementation class will be looked up scanning |
|
|
|
|
* for {@code PersonRepositoryImpl}. |
|
|
|
|
*/ |
|
|
|
|
boolean considerNestedRepositories() default false; |
|
|
|
|
String repositoryImplementationPostfix() default "Impl"; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Configures the location of where to find the Spring Data named queries properties file. Will default to |
|
|
|
|
* {@code META-INF/jdbc-named-queries.properties}. |
|
|
|
|
*/ |
|
|
|
|
String namedQueriesLocation() default ""; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Returns the {@link FactoryBean} class to be used for each repository instance. Defaults to |
|
|
|
|
@ -89,17 +96,17 @@ public @interface EnableJdbcRepositories {
@@ -89,17 +96,17 @@ public @interface EnableJdbcRepositories {
|
|
|
|
|
Class<?> repositoryFactoryBeanClass() default JdbcRepositoryFactoryBean.class; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Configures the location of where to find the Spring Data named queries properties file. Will default to |
|
|
|
|
* {@code META-INF/jdbc-named-queries.properties}. |
|
|
|
|
* Configure the repository base class to be used to create repository proxies for this particular configuration. |
|
|
|
|
* |
|
|
|
|
* @since 2.1 |
|
|
|
|
*/ |
|
|
|
|
String namedQueriesLocation() default ""; |
|
|
|
|
Class<?> repositoryBaseClass() default DefaultRepositoryBaseClass.class; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Returns the postfix to be used when looking up custom repository implementations. Defaults to {@literal Impl}. So |
|
|
|
|
* for a repository named {@code PersonRepository} the corresponding implementation class will be looked up scanning |
|
|
|
|
* for {@code PersonRepositoryImpl}. |
|
|
|
|
* Configures whether nested repository-interfaces (e.g. defined as inner classes) should be discovered by the |
|
|
|
|
* repositories infrastructure. |
|
|
|
|
*/ |
|
|
|
|
String repositoryImplementationPostfix() default "Impl"; |
|
|
|
|
boolean considerNestedRepositories() default false; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Configures the name of the {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations} bean |
|
|
|
|
@ -114,12 +121,4 @@ public @interface EnableJdbcRepositories {
@@ -114,12 +121,4 @@ public @interface EnableJdbcRepositories {
|
|
|
|
|
*/ |
|
|
|
|
String dataAccessStrategyRef() default ""; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Configure the repository base class to be used to create repository proxies for this particular configuration. |
|
|
|
|
* |
|
|
|
|
* @return |
|
|
|
|
* @since 2.1 |
|
|
|
|
*/ |
|
|
|
|
Class<?> repositoryBaseClass() default DefaultRepositoryBaseClass.class; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|