Infosys Interview Question

How to crete connection in hibernate?