db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steinar Bang ...@dod.no>
Subject TIP: Run a derby network server with maven
Date Sat, 19 Aug 2017 14:01:22 GMT
I needed to temporarily run a derby network server to examine behaviour
of some of my SQL queries, that was different in derby (which I use for
tests, both unit tests and integration tests), and PostgreSQL.

What I did, was to create a maven project that uses the
derby-maven-plugin[1] to start and run a derby network server[2].

To create a local derby network server, listening on port 1527, do:
 mkdir -p ~/git
 cd ~/git
 git clone https://github.com/steinarb/derby-runner.git
 cd derby-runner
 mvn install derby:run

References:
[1] <https://github.com/carlspring/derby-maven-plugin>
[2] <https://github.com/steinarb/derby-runner>


Mime
View raw message