HSBC interview question

jdbc vs jpa