Micronaut Data Configuration Reference
Every documented configuration property of Micronaut Data, with types, descriptions, and defaults.
36 properties across 5 sections
Data Azure Cosmos Config Properties
Configuration properties for DefaultThroughputSettings
| Property | Type | Description |
|---|---|---|
azure.cosmos.database.throughput-settings.request-units | java.lang.Integer | Sets the request units. |
azure.cosmos.database.throughput-settings.auto-scale | boolean | Sets the auto scaled indicator for throughput. |
Configuration properties for CosmosDatabaseConfiguration
| Property | Type | Description |
|---|---|---|
azure.cosmos.database.database-name | java.lang.String | Sets the database name. |
azure.cosmos.database.update-policy | StorageUpdatePolicy | Sets the update policy for the database to be used during startup. |
azure.cosmos.database.packages | java.util.List | the package names to be considered during init |
azure.cosmos.database.query-metrics-enabled | boolean | Sets the indicator telling whether query metrics will be enabled for Azure Cosmos Db query requests. |
Configuration properties for CosmosContainerSettings
| Property | Type | Description |
|---|---|---|
azure.cosmos.database.container-settings[*].container-name | java.lang.String | Sets the container name. |
azure.cosmos.database.container-settings[*].partition-key-path | java.lang.String | Sets the container partition key path. |
azure.cosmos.database.container-settings[*].throughput | ThroughputSettings | Sets the container throughput settings. |
Configuration properties for ContainerThroughputSettings
| Property | Type | Description |
|---|---|---|
azure.cosmos.database.container-settings[*].throughput-settings.request-units | java.lang.Integer | Sets the request units. |
azure.cosmos.database.container-settings[*].throughput-settings.auto-scale | boolean | Sets the auto scaled indicator for throughput. |
Data Jdbc Config Properties
Configuration properties for DataJdbcConfiguration
| Property | Type | Description |
|---|---|---|
datasources.*.schema-generate | SchemaGenerate | Sets the schema generation strategy. |
datasources.*.batch-generate | boolean | Whether to generate tables in batch. |
datasources.*.dialect | Dialect | Sets the dialect. |
datasources.*.packages | java.util.List | Sets the packages to include use for the purposes of schema generation. |
datasources.*.schema-generate-name | java.lang.String | The schema name that should be used for generating |
datasources.*.schema-generate-names | java.util.List | The schema names that should be used for generating |
datasources.*.transaction-per-operation | boolean | The property |
datasources.*.allow-connection-per-operation | boolean | The property |
Data Mongodb Config Properties
Configuration properties for MongoDataConfiguration
| Property | Type | Description |
|---|---|---|
micronaut.data.mongodb.create-collections | boolean | |
micronaut.data.mongodb.driver-type | MongoDataConfiguration$DriverType | |
micronaut.data.mongodb.ignore-json-views | boolean |
Data R2dbc Config Properties
Configuration properties for DataR2dbcConfiguration
| Property | Type | Description |
|---|---|---|
r2dbc.datasources.*.schema-generate | SchemaGenerate | Sets the schema generation strategy. |
r2dbc.datasources.*.batch-generate | boolean | Whether to generate tables in batch. |
r2dbc.datasources.*.dialect | Dialect | Sets the dialect. |
r2dbc.datasources.*.packages | java.util.List | Sets the packages to include use for the purposes of schema generation. |
r2dbc.datasources.*.schema-generate-name | java.lang.String | The schema name that should be used for generating |
r2dbc.datasources.*.schema-generate-names | java.util.List | The schema names that should be used for generating |
Data Runtime Config Properties
Configuration properties for PageableConfiguration
| Property | Type | Description |
|---|---|---|
micronaut.data.pageable.max-page-size | int | Sets the maximum page size when binding Pageable objects. |
micronaut.data.pageable.default-page-size | java.lang.Integer | Sets the default page size when binding Pageable objects and no size parameter is used. Should be smaller or equal than {@link #maxPageSize}. |
micronaut.data.pageable.sort-ignore-case | boolean | Whether sort ignores case |
micronaut.data.pageable.sort-parameter-name | java.lang.String | The default sort parameter name |
micronaut.data.pageable.size-parameter-name | java.lang.String | The default size parameter name |
micronaut.data.pageable.page-parameter-name | java.lang.String | Sets the default page parameter name |
micronaut.data.pageable.sort-delimiter | java.util.regex.Pattern | The delimiter to use to calculate sort order. Defaults to {@code ,}. |
Configuration properties for MultiTenancyConfiguration
| Property | Type | Description |
|---|---|---|
micronaut.data.multi-tenancy.mode | MultiTenancyMode | Sets the multi-tenancy mode. |
No properties match this filter.