Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
10.15.2.0
-
None
-
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
- relates to
-
DERBY-7097 Update documentation to allow users to properly use EmbeddedDriver
- Resolved
-
DERBY-7111 Mention location of JDBC driver
- Open