Connecting to the database

About this task

The JDBCJournalSchemaGenerator class uses its own connection to the database. So, before this class is used but after creating a new instance, a connect() method must be run, using as an argument the database URL where the journal tables are to be created. The following is an example of requesting a connection to the database:
JDBCJournalSchemaGenerator jsg=new JDBCJournalSchemaGenerator();
jsg.connect(aDatabaseURL, aUser, aPassword)

This method sets the databaseConnection static attribute of the Schema Generator. The Schema Generator does not use the connection pooling facilities.