Connecting to the database

About this task

JDBCStoreSchemaGenerator uses its own connection to the database. So, before an application can use this class after creating a new instance, a connect() method (providing the database URL as an argument, and eventually the userId and the password) must be run to connect to the specific database where the table has to be created. The following is an example of requesting a connection to the database:
JDBCStoreSchemaGenerator ssg=new JDBCStoreSchemaGenerator();
ssg.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.