DbSchema Derby ER Diagram Designer

DbSchema is a Derby ER diagram database designer and query tool. Using DbSchema, you can design and document Derby databases while connected to the database server or without a connection.

Next, you can share the design with the team using Git. The design model loaded in DbSchema can be compared with the database, synchronization scripts can be generated, and the schema can be deployed to any database server.

DbSchema Database Designer

Download DbSchema

How to Connect to Derby Database

  1. Access the Connection Dialog

    Choose "Connect to the database" or "New Model Connected to the Database" will let you select your database and open the Connection Dialog.

    DbSchema automatically downloads the JDBC driver to connect to your database.

  2. Configure the Connection
  3. In the Connection Dialog window, select the JDBC URL you want to connect with. If your database is running in the cloud, choose Edit Manually and insert the JDBC URL from the cloud console.

    Enter the host name, the authentication details, select your database as described in the Connection Dialog page.

  4. Troubleshoot Firewall Issues
  5. If you encounter connection issues, it may be due to firewall settings. Read how to enable Firewall Connections.
Remember to enable Windows Firewalls Firewalls & anti-viruses may block database connections.

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.

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. http://www.oracle.com/technetwork/java/javase/downloads/