Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2576

setCreateDatabase does not work for EmbeddedXADataSource or EmbeddedConnectionPoolDataSource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 10.3.1.4
    • None
    • JDBC
    • None

    Description

      After implementing setCreateDatabase for ClientDataSource, and creating a test (see DERBY-2296) I realized there was no such test for XADataSource or ConnectionPoolDataSource.
      However, the test I created failed with Embedded, because the database does not get created. A database does get created using setConnectionAttributes(create=true).
      Also, setShutdownDatabase does work (tested in XADSAuthenticationTest and PoolDSAuthenticationTest).

      Attachments

        1. DERBY-2576_tst.diff
          22 kB
          Myrna van Lunteren
        2. DERBY-2576_tst_mod_diff.txt
          21 kB
          Katherine Marsden

        Issue Links

          Activity

            People

              kmarsden Katherine Marsden
              myrna Myrna van Lunteren
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: