I have a Spring Boot project with Gradle that I want to use Derby for. I have the following jars included here (I should only need the first, but I'm trying the second too):
implementation("org.apache.derby:derby:10.15.2.0")
implementation("org.apache.derby:derbyclient:10.15.2.0")
This actually gives me 3 jars (including the tools) and none have the EmbeddedDriver that Spring wants. What gives?
spring.datasource.url=jdbc:derby:/tmp/nhsta_derby;create=true
Property: driver-class-name
Value: org.apache.derby.jdbc.EmbeddedDriver
Origin: "driverClassName" from property source "source"
Reason: Failed to load driver class org.apache.derby.jdbc.EmbeddedDriver in either of HikariConfig class loader or Thread context classloader
This finds nothing:
find ~/.gradle/caches/ -name 'derby*.jar' -exec jar -tf {} \; | grep EmbeddedDriver