Capgemini interview question

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