Interface MongoConfigurator


@Sealed public interface MongoConfigurator
The configurator of the MongoDB Extension for Hibernate ORM.
Supported configuration properties
Method Has default Related configuration property name Supported value types of the configuration property Value, unless overridden via MongoConfigurator
applyToMongoClientSettings(Consumer) "jakarta.persistence.jdbc.url" Is based on the ConnectionString constructed from "jakarta.persistence.jdbc.url", if the latter is configured; otherwise a MongoClientSettings instance with its defaults.
databaseName(String) "jakarta.persistence.jdbc.url" The MongoDB database name from "jakarta.persistence.jdbc.url", if configured; otherwise a value must be configured via databaseName(String).
See Also: