1. Derby
  2. DERBY-1151

ij does not issue a warning if the attribute verifyKey.dat is set on an embedded URL.


    • Type: Bug Bug
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s:
    • Fix Version/s: None
    • Component/s: Tools
    • Urgency:
    • Issue & fix info:


      ij has code to check that the JDBC attributes on a URL are valid for embedded. It obtains the list of attributes by using reflection on the Attributes class for the list fo fields.

      The field Attribute.CRYPTO_EXTERNAL_KEY_VERIFY_FILE is not an attribute and so this constant should be elsewhere,, most likely with the encryption code.

      Also going through the list of fields may not be the best approach for getting the list of valid attributes. A simple array of valid attributes
      may be a much clearer and easier solution. Especially if the Attribute class contains client side attributes as well, as a future version might.

      ij> connect 'jdbc:derby:fred;foo=true';
      URL Attribute [foo=true]
      Attribute is unknown to Derby.
      ERROR XJ004: Database 'fred' not found.
      ij> connect 'jdbc:derby:fred;verifyKey.dat=fr
      ERROR XJ004: Database 'fred' not found.

        Issue Links


          Daniel John Debrunner created issue -
          Dag H. Wanvik made changes -
          Field Original Value New Value
          Link This issue relates to DERBY-2697 [ DERBY-2697 ]
          Lily Wei made changes -
          Labels derby_triage10_8
          Urgency Normal
          Issue & fix info [Newcomer]
          Kathey Marsden made changes -
          Affects Version/s [ 12310615 ]
          Knut Anders Hatlen made changes -
          Link This issue relates to DERBY-5970 [ DERBY-5970 ]
          Knut Anders Hatlen made changes -
          Link This issue is related to DERBY-2696 [ DERBY-2696 ]
          Gavin made changes -
          Workflow jira [ 12352443 ] Default workflow, editable Closed status [ 12796890 ]


            • Assignee:
              Daniel John Debrunner
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: