@Retention(value=RUNTIME)
@Target(value={ANNOTATION_TYPE,TYPE})
@Documented
public @interface RepositoryConfiguration
Modifier and Type | Optional Element and Description |
---|---|
boolean |
implicitQueries
Does the repository allow implicit queries by type and ID etc.
|
boolean |
namedParameters
Whether named parameters starting with colon are supported in the query syntax.
|
java.lang.Class<? extends RepositoryOperations> |
operations |
java.lang.Class<? extends QueryBuilder> |
queryBuilder
The builder to use to encode queries.
|
TypeRole[] |
typeRoles
Configures
TypeRole behaviour for a repository. |
public abstract java.lang.Class<? extends QueryBuilder> queryBuilder
public abstract java.lang.Class<? extends RepositoryOperations> operations
public abstract TypeRole[] typeRoles
TypeRole
behaviour for a repository. This member allows for configuration of
custom types that play different roles in the construction and execution of repositories. Note that
additional TypeConverter
instances may need to be registered if types
that do not extend from the defaults are registered.