Hiran Chaudhuri created DERBY-7115:
--------------------------------------

             Summary: Outdated documentation 'Getting Started'
                 Key: DERBY-7115
                 URL: https://issues.apache.org/jira/browse/DERBY-7115
             Project: Derby
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 10.15.2.0
            Reporter: Hiran Chaudhuri


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?

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to