Annotation Type MongoRepository
-
@RepositoryConfiguration(queryBuilder=MongoQueryBuilder.class, operations=MongoRepositoryOperations.class, implicitQueries=true, namedParameters=false) @Retention(RUNTIME) @Target({ANNOTATION_TYPE,TYPE}) @Documented @Repository @DocumentProcessorRequired public @interface MongoRepository
Stereotype repository that configures aRepository
as aMongoRepository
.- Since:
- 3.3.0
- Author:
- Denis Stepanov
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
databaseName
java.lang.String
serverName
java.lang.String
value
-
-
-
Element Detail
-
value
@AliasFor(annotation=Repository.class, member="value") java.lang.String value
- Returns:
- The datasource name.
- Default:
- "default"
-
-
-
serverName
@AliasFor(annotation=Repository.class, member="value") java.lang.String serverName
- Returns:
- The server name.
- Default:
- "default"
-
-