Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-3447

[EAPCD] transaction JDBC object datasource cannot be configured with a different driver than mysql and postgresql

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • EAP CD 18.0.GA
    • EAP_CD
    • None
    • Hide

      Run CD18 image with something like:

      `docker run --rm --network=oracle_xe -e TX_DATABASE_PREFIX_MAPPING='test-oracle=TEST' -e TEST_USERNAME=crashrec -e TEST_PASSWORD=crashrec -e TEST_DRIVER=oracle -e TEST_URL=jdbc:oracle:thin:@oracle-xe:1521:XE -e TEST_ORACLE_SERVICE_HOST=localhost -e TEST_ORACLE_SERVICE_PORT=1521 -e TEST_DATABASE=crashrec -e TEST_NONXA=true -e TEST_JTA=false -e quickstart-test
      
      Show
      Run CD18 image with something like: `docker run --rm --network=oracle_xe -e TX_DATABASE_PREFIX_MAPPING= 'test-oracle=TEST' -e TEST_USERNAME=crashrec -e TEST_PASSWORD=crashrec -e TEST_DRIVER=oracle -e TEST_URL=jdbc:oracle:thin:@oracle-xe:1521:XE -e TEST_ORACLE_SERVICE_HOST=localhost -e TEST_ORACLE_SERVICE_PORT=1521 -e TEST_DATABASE=crashrec -e TEST_NONXA= true -e TEST_JTA= false -e quickstart-test

      The transaction object store can be configured with JDBC. Then transactional data is stored in database.

      The object store has to be configured to have a link to an non-xa non-jta datasource. These data are then used for connection to database where transaction log is stored.

      The way of definition of the tx object store as jdbc has two variants.

      If the datasource creation with `TX_DATABASE_PREFIX_MAPPING` is used then only mysql and postgresql driver names are permitted to be used. The code has to allow to use the '`PREFIX`_DRIVER' as name of driver which is linked for the created datasource.

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: