How to Connect to Derby

Read first the Connection dialog page to understand the dialog fields( host, port, user, etc. ), SSH tunnel, etc..

Connection Modes

Derby database may run in two modes:

  • embedded mode - the software will run local on your machine. In this case there is no need to specify a database user and password. As database you have to specify the path to the directory where the database is installed. If you have no database created or you want to create a new one, just add ;create=true in the end. Sample: C:/temp/derbytest.dbf;create=true
  • server mode on a remote computer. In this case you have to specify a database user and password. The default port is 5000.
Tip Firewalls & anti-viruses may block database connections. Read How to enable Firewall connections.

Enable ASE-256 Encryption

For this you need two files from the Oracle web site. There are a set for each major version of Java. Look on Oracle website for "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files"

You should copy the US_export_policy.jar and local_policy.jar files into the Java jre\lib\security folder. Look for currently used Java in DbSchema Help / About dialog.

You can find the files on this page for JDK/JRE 8. It's a ways down the page and you have to click the Download link to get the files.