Pregunta de entrevista de Wells Fargo

How does JPA connect to database?