Search code examples
javadatabasederby

Is it possible to use derby from apache in Eclipse now that they stopped developing the derby plugin for Eclipse?


I would like to use Derby from apache in order to include database management on a desktop application that I'm currently developing.

Unfortunately I figured out that they have stopped developing this plugin and all the tutorials I've read online refer to this plugin.

So my question is, how can I use the latest version of Derby on eclipse? What steps should I follow? I would like my application to be standalone and easily transferable.

thanks in advance


Solution

  • Apache Derby is just like other databases that provide interface through JDBC. You don't need a specific plugin to connect with Derby. Just use the usual JDBC routines.

    Basic steps:

    1. If you want to use the latest Derby version, first you need to download it from here
    2. You need to include the jar in your classpath.
    3. You just need to make connections and perform queries using JDBC, as better explained at the Oracle JDBC Tutorial.