Browsing Derby Database in Eclipse

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Browsing Derby Database in Eclipse

Georg Potthast 2
In this wiki page https://cwiki.apache.org/confluence/display/OFBIZ/Browsing+Derby+Database+in+Eclipse it says:
“The template expects the driver to be in a file called derby.jar. [...] You will find this in your workspace as framework/entity/lib/jdbc/derby-10.2.2.0.jar”
However, it is not at that location and I cannot find it anywhere else. Where can I find this driver?
Reply | Threaded
Open this post in threaded view
|

Re: Browsing Derby Database in Eclipse

Jacques Le Roux
Administrator
This documentation is now dated, it's pre Gradle.

Now Derby is dynamically loaded once by Gradle and used at runtime only, see in build.gradle line

    <<runtimeOnly 'org.apache.derby:derby:10.14.2.0'>>

So the Derby driver is located in the Gradle cache, see https://docs.gradle.org/current/userguide/directory_layout.html

I'll duplicate the wiki page and adapt it to Gradle.

Thank you for the report

Jacques

Le 05/10/2020 à 08:02, Georg Potthast a écrit :
> In this wiki page https://cwiki.apache.org/confluence/display/OFBIZ/Browsing+Derby+Database+in+Eclipse it says:
> “The template expects the driver to be in a file called derby.jar. [...] You will find this in your workspace as framework/entity/lib/jdbc/derby-10.2.2.0.jar”
> However, it is not at that location and I cannot find it anywhere else. Where can I find this driver?

Reply | Threaded
Open this post in threaded view
|

Re: Browsing Derby Database in Eclipse

Jacques Le Roux
Administrator
Done

Le 05/10/2020 à 09:32, Jacques Le Roux a écrit :
> Now Derby is dynamically loaded once by Gradle and used at runtime only, see in build.gradle line
>
>    <<runtimeOnly 'org.apache.derby:derby:10.14.2.0'>>
>
> So the Derby driver is located in the Gradle cache, see https://docs.gradle.org/current/userguide/directory_layout.html