Syntax
When you set the ij.dataSource property, ij
will automatically try to connect to a database. To establish a connection to a
specific database using ij.dataSource, set the
ij.dataSource.databaseName property. If you do not set
this property, ij will start with an error. If you want to
create the database, specify the ij.dataSource.createDatabase
property as well as ij.dataSource.databaseName. Do not
specify ij.protocol when setting
ij.dataSource, as that would activate the DriverManager
mechanism.
ij.dataSource=datasourceClassName
ij.dataSource.databaseName=databaseName
[ij.dataSource.createDatabase=create]
If you do not specify ij.dataSource.databaseName and get an
error indicating no database was found, you can still connect to a database by
using ij's
Connect command.
You should not specify the protocol (for example, jdbc:derby:)
in the connect command when using
ij.dataSource.