@Override
    public Connection getConnection() {
        try {
            Class.forName(getDriverName());
            
            Connection conn = DriverManager.getConnection(getUrl(), getUsername(), getPassword());
            
            return conn;
            
        } catch (ClassNotFoundException | SQLException ex) {
            Logger.getLogger(DBConnectionFactoryImpl.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        return null;
    }