Can Fault Tolerance annotations be combined with @Transactional in Quarkus?

Solution Verified - Updated -

Issue

Because @Transactional determines the boundary it looks like using Fault Tolerance Annotations like @Retry will not result in retries in case of failures triggered when the transaction manager flushes the statements to the DB that result in an error like for example trying to add a row with an ID that already exists.

Environment

Red Hat build of Quarkus (RHBQ) 1.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content