this.databaseConnection=job.get(Global.DATABASE_CONNECTION);
this.databaseUsername=job.get(Global.DATABASE_USERNAME);
this.databasePassword=job.get(Global.DATABASE_PASSWORD);
try {
sqlsearcher=new SqlSearcher();
sqlsearcher.connect(databaseConnection,databaseUsername,databasePassword);
}
catch (Exception e) {
LOG.error("Error connecting to database: "+e.getMessage());
LOG.error("Error connecting to database: "+e.toString());