Pregunta de entrevista de Accenture

How to implement sharing through hibernate?