Configuration Reference
Version:5.3.0-SNAPSHOT
Micronaut Data Azure Cosmos Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
Throughput settings for database and container. |
||
|
java.util.List |
||
|
java.lang.String |
Sets the database name. |
|
|
Sets the update policy for the database to be used during startup. |
||
|
java.util.List |
the list of package names to filter entities during init database and containers |
|
|
boolean |
Sets the indicator telling whether query metrics will be enabled for Azure Cosmos Db query requests. |
|
|
boolean |
Sets an indicator telling whether non-streaming order by is by default disabled. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
Sets the container name. |
|
|
java.lang.String |
Sets the container partition key path. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.Integer |
Sets the request units. |
|
|
boolean |
Sets the auto scaled indicator for throughput. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.Integer |
Sets the request units. |
|
|
boolean |
Sets the auto scaled indicator for throughput. |
Micronaut Data Jdbc Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
Sets the schema generation strategy. |
||
|
boolean |
Whether to drop and create the tables with a single statement containing all the DDL statements. It requires a driver that executes several statements in one string and is ignored for Oracle. |
|
|
java.util.List |
Sets the packages to include use for the purposes of schema generation. |
|
|
Sets the dialect. |
||
|
boolean |
If true, {@link javax.sql.DataSource#getConnection()} will be used in try-resource block for the operation. |
|
|
boolean |
Sets whether a connection opened for a single read operation is switched to read-only. Default value (false). |
|
|
java.lang.String |
The schema name that should be used for generating |
|
|
java.util.List |
The schema names that should be used for generating |
|
|
boolean |
Sets an indicator telling whether data source is enabled. |
|
|
boolean |
Fail on multiple results for findOne. |
|
|
java.lang.Integer |
Sets the default fetch size for the JDBC driver. The fetch size is a hint to the JDBC driver as to the number of rows that should be fetched from the database when more rows are needed. If set to null, the JDBC driver’s default fetch size will be used. Used in streaming operations. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
||
|
boolean |
||
|
boolean |
| Property | Type | Description | Default value |
|---|---|---|---|
|
int |
Sets the limit for waiting notifications per listener. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
int |
Sets the number of retries after the initial recovery attempt. Zero allows only that initial attempt. |
|
|
java.time.Duration |
Sets the delay before the first retry of a failed recovery attempt. Subsequent delays are multiplied by {@link #getRetryDelayMultiplier()} and capped at {@link #getMaxRetryDelay()}. |
|
|
int |
Sets the multiplier applied to the delay after each retry. One uses a fixed delay. |
|
|
java.time.Duration |
Sets the upper bound for every retry delay, including the first retry. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
int |
Sets the limit for waiting notifications per listener. |
|
|
boolean |
Enables notification function and trigger creation alongside generated tables. Has no effect for {@code NONE} or {@code VALIDATE}; migrations remain responsible for those schemas. |
|
|
Selects row notifications or statement-level invalidations for generated triggers. Applies to all subscribed tables included in schema generation. |
||
|
java.time.Duration |
Sets the notification poll timeout. Durations are used at millisecond precision. |
|
|
java.time.Duration |
Sets the interval between round trips that detect silently broken listening connections. |
|
|
java.time.Duration |
Sets the timeout for a listening connection check. Shutdown may wait for an active check. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
int |
Sets the number of retries after the initial recovery attempt. Zero allows only that initial attempt. A reconnected session resets the retry count and delay after a successful connection check. If it fails before that check, it counts as a failed recovery attempt. |
|
|
int |
Sets the multiplier applied to the delay after each failed recovery attempt. One uses a fixed delay. Delays are capped at {@link #getMaxRetryDelay()}. |
|
|
java.time.Duration |
Sets the initial recovery delay. Durations are used at millisecond precision. |
|
|
java.time.Duration |
Sets the maximum recovery delay. Durations are used at millisecond precision. |
Micronaut Data Mongodb Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
Create MongoDB collection at app initialization. |
|
|
boolean |
Ignore any JsonView annotations on the properties of mapped entity during encode and decode operations. |
|
|
Choose the appropriate driver type when both are on classpath. |
Micronaut Data R2dbc Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
Sets the schema generation strategy. |
||
|
boolean |
Whether to create the tables with a single statement containing all the DDL statements. It requires a driver that executes several statements in one string, such as H2 or PostgreSQL, and is ignored for Oracle. When the batch fails, for example because a table already exists, the tables are created one by one. With {@link SchemaGenerate#CREATE_DROP}, the tables are still dropped one by one. |
|
|
java.util.List |
Sets the packages to include use for the purposes of schema generation. |
|
|
Sets the dialect. |
||
|
java.lang.String |
The schema name that should be used for generating |
|
|
java.util.List |
The schema names that should be used for generating |
|
|
java.lang.Integer |
Sets the default fetch size for the JDBC driver. The fetch size is a hint to the JDBC driver as to the number of rows that should be fetched from the database when more rows are needed. If set to null, the JDBC driver’s default fetch size will be used. Used in streaming operations. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
java.lang.String |
||
|
boolean |
Micronaut Data Runtime Config Properties
🔗| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
Sets whether repository save methods should always use insert operations. This restores the Micronaut Data 4 behavior where {@code save} and {@code saveAll} always inserted entities instead of selecting insert or update based on identity state. |
|
|
boolean |
Sets whether repository save methods should fall back to update when an insert detects that an entity with a non-generated identity already exists. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
Sets the multi-tenancy mode. |
| Property | Type | Description | Default value |
|---|---|---|---|
|
boolean |
Whether sort ignores case. |
|
|
java.lang.String |
The delimiter to use to calculate sort order. Defaults to {@code ,}. |
|
|
int |
Sets the maximum page size when binding Pageable objects. |
|
|
int |
Sets the default page size when binding Pageable objects and no size parameter is used. Should be smaller or equal than {@link #maxPageSize}. |
|
|
java.lang.String |
The default sort parameter name |
|
|
java.lang.String |
The default size parameter name |
|
|
java.lang.String |
The default page parameter name |