Annotation Interface MongoRepository
@RepositoryConfiguration(queryBuilder=MongoQueryBuilder.class,
operations=MongoRepositoryOperations.class,
implicitQueries=true,
namedParameters=false,
queryDtoTypes=org.bson.BsonDocument.class)
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,TYPE})
@Documented
@Repository
@DocumentProcessorRequired
public @interface MongoRepository
Stereotype repository that configures a
Repository
as a MongoRepository
.- Since:
- 3.3.0
- Author:
- Denis Stepanov
-
Optional Element Summary
-
Element Details
-
value
- Returns:
- The datasource name.
- Default:
- "default"
-
serverName
- Returns:
- The server name.
- Default:
- "default"
-
databaseName
String databaseName- Returns:
- The database name.
- Default:
- ""
-