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

NPE when passing in url instead of database name to EmbeddedXADataSource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 10.0.2.1
    • JDBC
    • None

    Description

      When passing in a url (e.g. jdbc:derby:mydb) instead of just the database name (e.g. mydb) the XADataSource gives a NullPointerException.

      It should either handle this a little more gracefully & give an error, or accept the url (like EmbeddedDataSource does).

      Attachments

        1. Derby-95_latest.diff
          3 kB
          Shreyas
        2. Derby-95.diff
          1 kB
          Shreyas

        Activity

          People

            shreyas Shreyas
            myrna Myrna van Lunteren
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: