Skip to content

Commit

Permalink
Merge pull request quarkusio#40793 from gsmet/fix-narayana-javadoc
Browse files Browse the repository at this point in the history
Fix javadoc for TransactionManagerBuildTimeConfig
  • Loading branch information
gastaldi authored May 22, 2024
2 parents adee1a6 + db0ead8 commit 6db3d61
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 6db3d61

Please sign in to comment.