Class.forName(driverClass);
con = DriverManager.getConnection(dbUrl, username, password);
deleteStmt = con.createStatement();
deleteStmt.addBatch(query_sub);
deleteStmt.addBatch(query_pub);
deleteStmt.executeBatch();
} catch (ClassNotFoundException e){
log.warn("Could not load jdbc driver for database configured in olat_config.xml. Driver: "+ driverClass, e);
throw new StartupException("Could not load jdbc driver for database configured in olat_config.xml. Driver: "+ driverClass, e);
} catch (SQLException e) {
log.warn("%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%");