Command Line Usage


ij is the command line tool for controlling the Derby database. It should be in your path so you can use it while in any directory. To start ij from a command prompt or terminal type

C:\> ij
~ $ ij

This assumes that ij or ij.bat is in the PATH.

Create a Database

ij> connect 'jdbc:derby:logindb:create=true;'

Connect to a Database

ij> connect 'jdbc:derby:logindb;'

Troubleshooting Tips

Derby Embedded

With an Embedded database, two db clients cannot be in the database at the same time. This can lead to some pretty uninformative errors.