Probabilmente la funzione getConnection() la trovi in database