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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 10.1.1.0
    • Fix Version/s: 10.2.1.6
    • Component/s: Network Client
    • Labels:
      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.patch
          6 kB
          Philip Wilder
        2. Derby461.java
          3 kB
          Philip Wilder

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: