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

Network Client Driver 'password=' behaviour is different from Embedded Driver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 10.1.1.0
    • 10.2.1.6
    • Network Client
    • None

    Description

      I posted to derby-dev asking if this was a bug and did not receive any response, so I'm logging it as a bug.

      Using the Embedded driver and specifying password= for the driver URL does not throw
      an exception or warning:

      ij> connect 'jdbc:derby:myDB;create=true;user=a;password=';
      ij(CONNECTION1)>

      Using this syntax with the Network Client driver does:

      ij> connect 'jdbc:derby://localhost:1527/blobDB;user=a;password=';
      ERROR (no SQLState): password length, 0, is not allowed.

      This bug is a request to make the behaviour of the client driver the same as the embedded driver.

      Attachments

        1. Derby461.java
          3 kB
          Philip Wilder
        2. Derby461.patch
          6 kB
          Philip Wilder

        Issue Links

          Activity

            People

              Unassigned Unassigned
              slc Susan Cline
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: