Capgemini Interview Question

How to configure multiple databases in hibernate, collections, oops concepts and abstract vs interface