Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix javadoc for TransactionManagerBuildTimeConfig #40793

Merged
merged 1 commit into from
May 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public final class TransactionManagerBuildTimeConfig {
* Define the behavior when using multiple XA unaware resources in the same transactional demarcation.
* <p>
* Defaults to {@code fail}.
* {@code warn} and {@code allow} are UNSAFE and should only be used for compatibility.
* {@code warn-each}, {@code warn-first}, and {@code allow} are UNSAFE and should only be used for compatibility.
* Either use XA for all resources if you want consistency, or split the code into separate
* methods with separate transactions.
* <p>
Expand Down Expand Up @@ -58,7 +58,7 @@ public enum UnsafeMultipleLastResourcesMode {
*/
FAIL;

// The default is WARN in Quarkus 3.8, FAIL in Quarkus 3.9+
// The default is WARN_FIRST in Quarkus 3.8, FAIL in Quarkus 3.9+
// Make sure to update defaultValueDocumentation on unsafeMultipleLastResources when changing this.
public static final UnsafeMultipleLastResourcesMode DEFAULT = FAIL;
}
Expand Down
Loading