Skip to content
Alexey Valikov edited this page Aug 31, 2017 · 1 revision

Derby

Derby is an open-source database written in Java. Just like HSQLDB, Derby is embeddable - you can start a Derby database directly from you Java program without any additional setup.

Hyperjaxb3 uses Derby for tests in a number of test projects.

Properties

Maven dependency

<dependency>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby</artifactId>
    <version>10.2.2.0</version>
</dependency>

JDBC Driver Class name

org.apache.derby.jdbc.EmbeddedDriver

JDBC URL format

jdbc:derby:target/test/database;create=true

Issues

Precision of decimal types

There is an unresolved Hyperjaxb3 issue with precision decimal types in Derby.

Clone this wiki locally