String dbDriver = properties.getProperty("opennms.db.driver");
String username = properties.getProperty("opennms.db.user");
String password = properties.getProperty("opennms.db.password");
String dbMgrClass = properties.getProperty("opennms.db.poolman");
if (dbMgrClass != null) {
<BUG>Class clazz = Class.forName(dbMgrClass);
</BUG>
factory = (DbConnectionFactory) clazz.newInstance();
factory.init(dbUrl, dbDriver, username, password);
Vault.setDbConnectionFactory(factory);

String dbDriver = properties.getProperty("opennms.db.driver");
String username = properties.getProperty("opennms.db.user");
String password = properties.getProperty("opennms.db.password");
String dbMgrClass = properties.getProperty("opennms.db.poolman");
if (dbMgrClass != null) {
Class<?> clazz = Class.forName(dbMgrClass);
factory = (DbConnectionFactory) clazz.newInstance();
factory.init(dbUrl, dbDriver, username, password);
Vault.setDbConnectionFactory(factory);
