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

Outdated documentation 'Getting Started'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.15.2.0
    • None
    • Documentation
    • None

    Description

      I just tried to start a new project using the Derby embedded database. For my first steps I followed https://db.apache.org/derby/docs/10.15/getstart/getstartderby.pdf.

      According to the guide on page 31, I need to load

      String driver = "org.apache.derby.jdbc.EmbeddedDriver";

      although that class cannot be found on the classpath - and this despite I configured maven with

      {{ <dependency>}}
          <groupId>org.apache.derby</groupId>
          <artifactId>derby</artifactId>
          <version>10.15.2.0</version>
      {{ </dependency>}}

      When looking at derby-10.15.2.0.jar I find the file /META-INF.services/java.sql.Driver, and the content is

      org.apache.derby.iapi.jdbc.AutoloadedDriver

      Should that not be the driver name to be loaded for the tutorial? If not, where is the missing class?

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hiranchaudhuri Hiran Chaudhuri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: