Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3424

Unable to use Derby DB version 10.15.1.3 in Netbeans 11.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.0, 11.2, 12.1, 12.0.1, 12.2
    • None
    • db - Code
    • None
    • Product Version: Apache NetBeans IDE 11.2
      Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
      Runtime: OpenJDK Runtime Environment 13.0.1+9
      System: Windows 10 version 10.0 running on amd64; Cp1252; en_GB (nb)

    Description

      If you assign Derby version 10.15.1.3 as the Java DB installation, as soon as you try and connect to the sample database, or as soon as you try and create a new database, you get an error dialog box "Unable to connect. Cannot establish connection to jdbc:derby://localhost:1527/sample using org.apache.derby.jdbc.ClientDriver (unable to find a suitable driver)."

      If instead you use Derby version 10.14.2.0, it all works OK.

      Note: please refer to the release notes for the new version of Derby DB here : http://db.apache.org/derby/releases/release-10.15.1.3.cgi

      This indicates that some "JPMS modularization" has taken place - I wonder if this will be the root cause of the issue - and in which case it will impact all versions of NetBeans

       

      To reproduce the issue:

      1. In the Services window, expand Databases, click right on Java DB and set the properties to point to the installation folder for Derby 10.15.1.3

      2. Click right on the sample database and select Connect...

       
       

      Attachments

        1. Connect to Sample Database - Derby15.png
          15 kB
          Stephen Brooksbank
        2. image-2020-05-28-00-08-43-882.png
          310 kB
          Patrick Schulz
        3. image-2020-05-28-00-13-29-860.png
          292 kB
          Patrick Schulz
        4. image-2020-05-28-00-22-52-928.png
          72 kB
          Patrick Schulz
        5. JavaDB Properties - Derby15.png
          13 kB
          Stephen Brooksbank

        Activity

          People

            Unassigned Unassigned
            Steve B Stephen Brooksbank
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: