Pergunta de entrevista da empresa Infosys

How to define associations between entities in hibernate?