Package io.quarkus.mongodb.panache
Annotation Type MongoEntity
-
@Retention(RUNTIME) @Target(TYPE) @Deprecated(forRemoval=true, since="2.1.0") public @interface MongoEntity
Deprecated, for removal: This API element is subject to removal in a future version.useMongoEntity
instead.This annotation can be used to specify some configuration of the mapping of an entity to MongoDB.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
clientName
Deprecated, for removal: This API element is subject to removal in a future version.The name of the MongoDB client (if not set the default client will be used).String
collection
Deprecated, for removal: This API element is subject to removal in a future version.The name of the collection (if not set the name of the entity class will be used)String
database
Deprecated, for removal: This API element is subject to removal in a future version.The name of the database (if not set the default from the propertyquarkus.mongodb.database
will be used).
-
-
-
Element Detail
-
collection
String collection
Deprecated, for removal: This API element is subject to removal in a future version.The name of the collection (if not set the name of the entity class will be used)- Default:
- ""
-
-
-
database
String database
Deprecated, for removal: This API element is subject to removal in a future version.The name of the database (if not set the default from the propertyquarkus.mongodb.database
will be used).- Default:
- ""
-
-
-
clientName
String clientName
Deprecated, for removal: This API element is subject to removal in a future version.The name of the MongoDB client (if not set the default client will be used).- Default:
- ""
-
-