Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-2742

Fix PostgreSQL XA mode in native images

XMLWordPrintable

      When using XA transactions in native images with PostgreSQL, an additional reflective items needs to be registered, otherwise the setUser() and setPassword() on the XA datasource is not recognized, and quarkus cannot connect to postgres.

      Reproduce: `quarkus.datasource.jdbc.transactions=xa` and generate a native image, use postgres with standard password authentication, application will fail to connect as username and password are missing from the connect.

      When this is not set to XA, the bug is not occuring, as the XA datasource is not used.

              Unassigned Unassigned
              probinso_jira Quarkus JIRA Bot
              Fedor Dudinskii Fedor Dudinskii
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: