Skip to content

Commit bd82a42

Browse files
committed
document the config property that disables recovery for a datasource
1 parent 1d7fc55 commit bd82a42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/main/asciidoc/datasource.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,8 @@ You can override this by setting the `transactions` configuration property:
680680
* `quarkus.datasource.jdbc.transactions` for default unnamed datasource
681681
* `quarkus.datasource._<datasource-name>_.jdbc.transactions` for named datasource
682682

683+
Datasources are also automatically registered with the transaction recovery system when recovery is enabled. Sometimes an application may wish to override this behaviour, such as when more than one datasource connects to the same database, by setting the configuration property `quarkus.datasource.xa.jdbc.enable-recovery` to `false`. Note that it is vital that at least one such XA capable datasource is enabled for recovery.
684+
683685
For more information, see the <<configuration-reference,Configuration reference>> section below.
684686

685687
To facilitate the storage of transaction logs in a database by using JDBC, see xref:transaction.adoc#jdbcstore[Configuring transaction logs to be stored in a datasource] section of the xref:transaction.adoc[Using transactions in Quarkus] guide.

0 commit comments

Comments
 (0)